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

@@ -40,11 +40,11 @@ class PlanSelectScreen extends StatelessWidget {
_buildSetingsScreen(BuildContext context, PlanSelectLoadedState state) {
mediaQueryData = MediaQuery.of(context);
return SafeArea(
child: Scaffold(
return Scaffold(
backgroundColor: Colors.grey[200],
resizeToAvoidBottomInset: true,
body: SingleChildScrollView(
body: SafeArea(
child: SingleChildScrollView(
child: Container(
width: double.maxFinite,
decoration: BoxDecoration(color: Colors.grey[200]),
@@ -106,9 +106,9 @@ class PlanSelectScreen extends StatelessWidget {
),
),
),
),
bottomNavigationBar: _buildBottomBar(context),
),
),
bottomNavigationBar: _buildBottomBar(context),
);
}