Update UI of screens

This commit is contained in:
2024-07-05 18:46:00 +02:00
parent f4d83bbd69
commit f46711de4a
4 changed files with 268 additions and 245 deletions

View File

@@ -221,46 +221,42 @@ class _PatientNotesState extends State<PatientNotes> {
flex: 1,
child: Padding(
padding: const EdgeInsets.all(10.0),
child: Card(
elevation: 20.0,
child: Container(
//height: 300.0,
decoration: const BoxDecoration(
color: Color.fromARGB(255, 219, 218, 218),
borderRadius: BorderRadius.all(
Radius.circular(10),
),
),
child: Padding(
padding: const EdgeInsets.only(top: 5.0),
child: Column(children: [
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
"Notes",
textAlign: TextAlign.center,
style: TextStyle(
child: Container(
//height: 300.0,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(25.0),
border: Border.all(color: Colors.blueAccent, width: 3.0),
),
child: Padding(
padding: const EdgeInsets.only(top: 5.0),
child: Column(children: [
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
"Notes",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 35,
fontWeight: FontWeight.bold,
),
),
IconButton(
onPressed: () {
addNotePopUp();
},
icon: const Icon(Icons.add),
)
],
),
const Padding(
padding: EdgeInsets.symmetric(horizontal: 20.0),
child: Divider(),
),
const SizedBox(height: 10),
BuildNotesList(notes: notesList),
]),
),
color: Colors.blueAccent),
),
IconButton(
onPressed: () {
addNotePopUp();
},
icon: const Icon(Icons.add, color: Colors.blueAccent),
)
],
),
const Padding(
padding: EdgeInsets.symmetric(horizontal: 20.0),
child: Divider(),
),
const SizedBox(height: 10),
BuildNotesList(notes: notesList),
]),
),
),
),