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
@@ -35,11 +35,11 @@ class _YourTendersMobilePageState extends State<YourTendersMobilePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppColors.backgroundColor,
appBar: appBar(context: context, title: YourTendersStrings.yourTenders),
body: SafeArea(
child: Column(
return SafeArea(
child: Scaffold(
backgroundColor: AppColors.backgroundColor,
appBar: appBar(context: context, title: YourTendersStrings.yourTenders),
body: Column(
children: [
const FilterButton(platformType: PlatformType.mobile),
Expanded(
@@ -55,11 +55,11 @@ class _YourTendersMobilePageState extends State<YourTendersMobilePage> {
),
);
}
if (viewModel.errorMessage != null) {
return Center(child: Text(viewModel.errorMessage!));
}
return Column(
children: [
if (viewModel.selectedStatus ==
@@ -15,10 +15,11 @@ 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 !';
static const page = 'Page';
static const of = 'of';
static const selectPage ='Select Page';
static const selectPage = 'Select Page';
}
@@ -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,