@@ -272,44 +272,42 @@ abstract class MxcPage extends HookConsumerWidget {
272272 decoration: BoxDecoration (
273273 gradient: backgroundGradient,
274274 ),
275- child: ScaffoldMessenger (
276- child: Scaffold (
277- backgroundColor: resolveBackgroundColor (context),
278- extendBodyBehindAppBar: extendBodyBehindAppBar,
279- drawer: drawer,
280- key: scaffoldKey,
281- resizeToAvoidBottomInset: false ,
282- floatingActionButton: floatingActionButton,
283- bottomNavigationBar: buildBottomNavigation (context, ref),
284- floatingActionButtonLocation: floatingActionButtonLocation,
285- body: PresenterHooks (
286- presenter: presenter,
287- child: paintBackground (
288- context: context,
289- splashBackgroundVisible: useSplashBackground,
290- useBlackBackground: useBlackBackground,
291- gradientBackgroundVisible: useGradientBackground,
292- child: SafeArea (
293- bottom: maintainBottomSafeArea,
294- top: topSafeArea,
295- child: Column (
296- children: [
297- buildAppBar (context, ref),
298- Expanded (
299- child: Padding (
300- padding: childrenPadding ?? EdgeInsets .zero,
301- child: content (context, ref),
302- )),
303- if (placeBottomInsetFiller)
304- AnimatedSize (
305- curve: Curves .easeOutQuad,
306- duration: const Duration (milliseconds: 275 ),
307- child: SizedBox (
308- height: MediaQuery .of (context).viewInsets.bottom,
309- ),
275+ child: Scaffold (
276+ backgroundColor: resolveBackgroundColor (context),
277+ extendBodyBehindAppBar: extendBodyBehindAppBar,
278+ drawer: drawer,
279+ key: scaffoldKey,
280+ resizeToAvoidBottomInset: false ,
281+ floatingActionButton: floatingActionButton,
282+ bottomNavigationBar: buildBottomNavigation (context, ref),
283+ floatingActionButtonLocation: floatingActionButtonLocation,
284+ body: PresenterHooks (
285+ presenter: presenter,
286+ child: paintBackground (
287+ context: context,
288+ splashBackgroundVisible: useSplashBackground,
289+ useBlackBackground: useBlackBackground,
290+ gradientBackgroundVisible: useGradientBackground,
291+ child: SafeArea (
292+ bottom: maintainBottomSafeArea,
293+ top: topSafeArea,
294+ child: Column (
295+ children: [
296+ buildAppBar (context, ref),
297+ Expanded (
298+ child: Padding (
299+ padding: childrenPadding ?? EdgeInsets .zero,
300+ child: content (context, ref),
301+ )),
302+ if (placeBottomInsetFiller)
303+ AnimatedSize (
304+ curve: Curves .easeOutQuad,
305+ duration: const Duration (milliseconds: 275 ),
306+ child: SizedBox (
307+ height: MediaQuery .of (context).viewInsets.bottom,
310308 ),
311- ] ,
312- ) ,
309+ ) ,
310+ ] ,
313311 ),
314312 ),
315313 ),
0 commit comments