Patient view size fix
This commit is contained in:
@@ -303,7 +303,7 @@ class _BuildFilesListState extends State<BuildFilesList> {
|
||||
double height = size.height;
|
||||
if (widget.files.isNotEmpty) {
|
||||
return SizedBox(
|
||||
height: height - 254,
|
||||
height: height - 177,
|
||||
child: ListView.separated(
|
||||
shrinkWrap: true,
|
||||
separatorBuilder: (BuildContext context, int index) {
|
||||
@@ -353,7 +353,7 @@ class _BuildFilesListState extends State<BuildFilesList> {
|
||||
);
|
||||
} else {
|
||||
return SizedBox(
|
||||
height: height - 250,
|
||||
height: height - 150,
|
||||
child: const Center(
|
||||
child: Text(
|
||||
"No Documents Available",
|
||||
|
||||
@@ -280,7 +280,7 @@ class _BuildNotesListState extends State<BuildNotesList> {
|
||||
double height = size.height;
|
||||
if (widget.notes.isNotEmpty) {
|
||||
return SizedBox(
|
||||
height: height - 250,
|
||||
height: height - 173,
|
||||
child: ListView.separated(
|
||||
shrinkWrap: true,
|
||||
separatorBuilder: (BuildContext context, int index) {
|
||||
@@ -322,7 +322,7 @@ class _BuildNotesListState extends State<BuildNotesList> {
|
||||
);
|
||||
} else {
|
||||
return SizedBox(
|
||||
height: height - 250,
|
||||
height: height - 173,
|
||||
child: const Center(
|
||||
child: Text(
|
||||
"No Notes Available",
|
||||
|
||||
@@ -274,7 +274,7 @@ class _PatientDetailsState extends State<PatientDetails> {
|
||||
double height = size.height;
|
||||
return Container(
|
||||
alignment: Alignment.topCenter,
|
||||
height: height - 177,
|
||||
height: height - 100,
|
||||
padding: const EdgeInsets.only(left: 10, right: 10, bottom: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
|
||||
@@ -651,7 +651,7 @@ class _PatientFilesState extends State<PatientFiles> {
|
||||
builder: (context, snapshot) {
|
||||
if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
return Container(
|
||||
height: height - 177,
|
||||
height: height - 100,
|
||||
decoration: BoxDecoration(
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
borderRadius: BorderRadius.circular(25.0),
|
||||
@@ -703,7 +703,7 @@ class _PatientFilesState extends State<PatientFiles> {
|
||||
);
|
||||
} else {
|
||||
return Container(
|
||||
height: height - 177,
|
||||
height: height - 175,
|
||||
decoration: BoxDecoration(
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
borderRadius: BorderRadius.circular(25.0),
|
||||
|
||||
@@ -339,7 +339,7 @@ class _PatientNotesState extends State<PatientNotes> {
|
||||
builder: (context, snapshot) {
|
||||
if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
return Container(
|
||||
height: height - 177,
|
||||
height: height - 100,
|
||||
decoration: BoxDecoration(
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
borderRadius: BorderRadius.circular(25.0),
|
||||
@@ -391,7 +391,7 @@ class _PatientNotesState extends State<PatientNotes> {
|
||||
);
|
||||
} else {
|
||||
return Container(
|
||||
height: height - 177,
|
||||
height: height - 100,
|
||||
decoration: BoxDecoration(
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
borderRadius: BorderRadius.circular(25.0),
|
||||
|
||||
Reference in New Issue
Block a user