File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class MyApp extends HookConsumerWidget {
115115 future: provider.getJwt (),
116116 builder: (context, snapshot) {
117117 if (snapshot.connectionState == ConnectionState .waiting) {
118- return UIUtils .loader;
118+ return buildMaterialApp ( Center (child : UIUtils .loader)) ;
119119 } else if (snapshot.hasData && snapshot.data != null ) {
120120 return buildMaterialApp (const HomeScreen ());
121121 } else {
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class UIUtils {
3131 /// A function that create the back button
3232 static FloatingActionButton createBackButton (BuildContext context) {
3333 return FloatingActionButton (
34+ heroTag: 'back_button' ,
3435 backgroundColor: ColorUtils .main,
3536 elevation: 4.0 ,
3637 child: Icon (
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ class EditProfileScreen extends HookConsumerWidget {
144144 bottom: 16 ,
145145 right: 80 ,
146146 child: FloatingActionButton (
147+ heroTag: 'save_button' ,
147148 backgroundColor: ColorUtils .main,
148149 elevation: 4.0 ,
149150 child: Icon (
You can’t perform that action at this time.
0 commit comments