fixed safe area

This commit is contained in:
amirrezaghabeli
2025-09-27 08:55:57 +03:30
parent e432853478
commit ac57392919
3 changed files with 46 additions and 46 deletions
+4 -6
View File
@@ -43,14 +43,12 @@ class _MobileTendersPageState extends State<MobileTendersPage> {
return Scaffold(
backgroundColor: AppColors.backgroundColor,
appBar: tenderMobileAppBar(title: TendersStrings.tendersTitle),
body: SingleChildScrollView(
body: SafeArea(
child: Consumer<TendersViewModel>(
builder: (context, viewModel, child) {
if (viewModel.isLoading) {
return const Expanded(
child: Center(
child: CircularProgressIndicator(color: AppColors.jellyBean),
),
return const Center(
child: CircularProgressIndicator(color: AppColors.jellyBean),
);
}
if (viewModel.errorMessage != null) {
@@ -63,7 +61,7 @@ class _MobileTendersPageState extends State<MobileTendersPage> {
return const Center(child: Text(CommonStrings.noData));
}
return SafeArea(
return SingleChildScrollView(
child: Padding(
padding: EdgeInsets.symmetric(vertical: 18.0.h()),
child: MainTendersSlider(