feat(app): SafeArea insets refactoring

This commit is contained in:
2024-06-03 16:00:48 +03:00
parent d3a041d951
commit 795dc48629
26 changed files with 121 additions and 142 deletions

View File

@@ -39,14 +39,13 @@ class PlanCreateScreen extends StatelessWidget {
_buildPlanCreate(BuildContext context, PlanCreateLoadedState state) {
mediaQueryData = MediaQuery.of(context);
return SafeArea(
child: Scaffold(
return Scaffold(
resizeToAvoidBottomInset: false,
body: Container(
body: SafeArea(
child: Container(
width: double.maxFinite,
decoration: AppDecoration.fillGray,
child: ListView(children: [
SizedBox(height: 30.v),
Container(
margin: EdgeInsets.only(
left: 16.h,
@@ -88,7 +87,7 @@ class PlanCreateScreen extends StatelessWidget {
)
]),
),
bottomNavigationBar: _buildBottomBar(context)));
), bottomNavigationBar: _buildBottomBar(context));
}
}