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

@@ -41,15 +41,14 @@ class ChatSelectScreen extends StatelessWidget {
_buildScreen(BuildContext context, ChatSelectLoadedState 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,
@@ -84,7 +83,7 @@ class ChatSelectScreen extends StatelessWidget {
],
),
),
bottomNavigationBar: _buildBottomBar(context)));
), bottomNavigationBar: _buildBottomBar(context));
}
}