UI Update

This commit is contained in:
2024-07-05 18:56:36 +02:00
parent f46711de4a
commit e09ca04e8a
3 changed files with 139 additions and 140 deletions

View File

@@ -50,24 +50,24 @@ class _PatientDetailsState extends State<PatientDetails> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
padding: const EdgeInsets.all(20), padding: const EdgeInsets.only(left: 20, right: 20, bottom: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
borderRadius: BorderRadius.circular(25.0), borderRadius: BorderRadius.circular(25.0),
border: Border.all(color: Colors.blueAccent, width: 3.0), border: Border.all(color: Colors.blueAccent, width: 3.0),
), ),
//constraints: const BoxConstraints.expand(height: 250.0), //constraints: const BoxConstraints.expand(height: 250.0),
child: SelectionArea(
child: Column( child: Column(
children: [ children: [
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
//crossAxisAlignment: ,
children: [ children: [
const Text( const Text(
"Patient Details", "Patient Details",
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
fontSize: 35, fontSize: 25,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.blueAccent, color: Colors.blueAccent,
), ),
@@ -196,7 +196,6 @@ class _PatientDetailsState extends State<PatientDetails> {
) )
], ],
), ),
),
); );
} }
} }

View File

@@ -553,7 +553,7 @@ class _PatientFilesState extends State<PatientFiles> {
"Files", "Files",
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
fontSize: 35, fontSize: 25,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.blueAccent, color: Colors.blueAccent,
), ),
@@ -589,7 +589,7 @@ class _PatientFilesState extends State<PatientFiles> {
), ),
const Padding( const Padding(
padding: EdgeInsets.symmetric(horizontal: 20.0), padding: EdgeInsets.symmetric(horizontal: 20.0),
child: Divider(), child: Divider(color: Colors.blueAccent),
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
BuildFilesList(files: filesList), BuildFilesList(files: filesList),

View File

@@ -238,7 +238,7 @@ class _PatientNotesState extends State<PatientNotes> {
"Notes", "Notes",
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
fontSize: 35, fontSize: 25,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.blueAccent), color: Colors.blueAccent),
), ),
@@ -252,7 +252,7 @@ class _PatientNotesState extends State<PatientNotes> {
), ),
const Padding( const Padding(
padding: EdgeInsets.symmetric(horizontal: 20.0), padding: EdgeInsets.symmetric(horizontal: 20.0),
child: Divider(), child: Divider(color: Colors.blueAccent),
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
BuildNotesList(notes: notesList), BuildNotesList(notes: notesList),