Update loyout Builder and update all widgets that call it

This commit is contained in:
2024-10-01 11:52:02 +02:00
parent 2f05d66a95
commit 0c85d560a0
17 changed files with 71 additions and 11 deletions

View File

@@ -326,6 +326,8 @@ class _MIHAboutState extends State<MIHAbout> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
}
}

View File

@@ -350,6 +350,8 @@ class _PatientAccessRequestState extends State<PatientAccessRequest> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -355,6 +355,8 @@ class _ForgotPasswordState extends State<ForgotPassword> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
}
}

View File

@@ -411,6 +411,8 @@ class _RegisterState extends State<Register> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
}
}

View File

@@ -413,6 +413,8 @@ class _ResetPasswordState extends State<ResetPassword> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
}
}

View File

@@ -578,6 +578,8 @@ class _SignInState extends State<SignIn> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
}
}

View File

@@ -372,6 +372,8 @@ class _ManageBusinessProfileState extends State<ManageBusinessProfile> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -437,6 +437,8 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(

View File

@@ -416,6 +416,22 @@ class _HomeTileGridState extends State<HomeTileGrid> {
p: getPrim(),
s: getSec(),
));
tileList.add(MIHTile(
onTap: () {
Navigator.of(context).popAndPushNamed(
'/homev2',
arguments: widget.signedInUser,
);
},
tileName: "HomeV2 - Dev",
tileIcon: Icon(
Icons.home,
color: getSec(),
size: 200,
),
p: getPrim(),
s: getSec(),
));
}
}

View File

@@ -439,6 +439,8 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
}
}

View File

@@ -396,6 +396,8 @@ class _AddPatientState extends State<AddPatient> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -660,6 +660,8 @@ class _EditPatientState extends State<EditPatient> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -416,6 +416,8 @@ class _PatientManagerState extends State<PatientManager> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(
// // appBar: const MIHAppBar(

View File

@@ -180,6 +180,8 @@ class _PatientViewState extends State<PatientView> {
actionButton: getActionButton(),
header: getHeader(),
body: getBody(),
rightDrawer: null,
bottomNavBar: null,
);
// return Scaffold(
// body: SafeArea(