changed safe areas and filter string

This commit is contained in:
amirrezaghabeli
2025-09-28 08:50:43 +03:30
parent 7b8660cc25
commit 82d907ef74
5 changed files with 104 additions and 103 deletions
@@ -75,14 +75,14 @@ class _TenderDetailMobilePageState extends State<TenderDetailMobilePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
return SafeArea(
child: Scaffold(
backgroundColor: AppColors.backgroundColor,
appBar: appBar(
context: context,
title: TenderDetailsStrings.tenderDetailTitle,
),
body: SafeArea(
child: Consumer<TenderDetailViewModel>(
body: Consumer<TenderDetailViewModel>(
builder: (context, tenderViewModel, child) {
if (tenderViewModel.isLoading) {
return const Center(
@@ -70,6 +70,7 @@ class _LikedTendersMobilePageState extends State<LikedTendersMobilePage> {
});
}
},
child: SafeArea(
child: Scaffold(
backgroundColor: AppColors.backgroundColor,
appBar: PreferredSize(
@@ -156,8 +157,7 @@ class _LikedTendersMobilePageState extends State<LikedTendersMobilePage> {
),
),
body: SafeArea(
child: Column(
body: Column(
children: [
Expanded(
child: Consumer<LikedTendersViewModel>(
@@ -35,11 +35,11 @@ class _YourTendersMobilePageState extends State<YourTendersMobilePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
return SafeArea(
child: Scaffold(
backgroundColor: AppColors.backgroundColor,
appBar: appBar(context: context, title: YourTendersStrings.yourTenders),
body: SafeArea(
child: Column(
body: Column(
children: [
const FilterButton(platformType: PlatformType.mobile),
Expanded(
@@ -15,6 +15,7 @@ class YourTendersStrings {
static const approvedTenders = 'Approved tenders';
static const noTenders = 'No data available';
static const selectPublicationRangeDate = 'Select publication date range';
static const selectCreationRangeDate = 'Select Creation date range';
static const noLikedTenders = 'You havent liked any tenders yet !';
static const noDislikedTenders = 'You havent disliked any tenders yet !';
static const noTendersSubmitted = 'You havent submitted any tenders yet !';
@@ -115,7 +115,7 @@ class YourTendersFilterDialog extends StatelessWidget {
),
SizedBox(height: 16.0.h()),
Text(
YourTendersStrings.selectPublicationRangeDate,
YourTendersStrings.selectCreationRangeDate,
style: TextStyle(
fontSize: 16.0.sp(),
fontWeight: FontWeight.w600,