improvements

ui_ux_rollout_merge_notification_settings
Sikander Saleem 1 month ago
parent 0e947cfcc6
commit c070bd4849

@ -126,7 +126,7 @@ class _NotificationFilterPageState extends State<NotificationFilterPage> {
body: Column(
children: [
SingleChildScrollView(
padding: const EdgeInsets.all(12),
padding: const EdgeInsets.all(16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
@ -149,10 +149,7 @@ class _NotificationFilterPageState extends State<NotificationFilterPage> {
});
},
),
12.height,
// Filter by Module
InfoHeader16Widget("Module"),
8.height,
SingleItemDropDownMenu<ModuleWithSubModulesModel, ModulesWithSubModulesProvider>(
@ -175,10 +172,7 @@ class _NotificationFilterPageState extends State<NotificationFilterPage> {
});
},
),
12.height,
// Filter by SubModule
InfoHeader16Widget("SubModule"),
8.height,
SingleItemDropDownMenu<SubModuleModel, NullableLoadingProvider>(
@ -200,10 +194,7 @@ class _NotificationFilterPageState extends State<NotificationFilterPage> {
});
},
),
12.height,
// Date Range Filter
InfoHeader16Widget(context.translation.pickDate),
8.height,
Row(

@ -234,13 +234,7 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
children: [
Transform.flip(
flipY: isAscending,
child: 'dashboard/sort_descending'
.toSvgAsset(
width: 20,
height: 20,
color: AppColor.iconColor(context),
)
.onPress(() {
child: 'dashboard/sort_descending'.toSvgAsset(width: 20, height: 20, color: AppColor.iconColor(context)).onPress(() {
_toggleSort();
}),
),
@ -248,13 +242,7 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
Stack(
clipBehavior: Clip.none,
children: [
'filter'
.toSvgAsset(
width: 20,
height: 20,
color: AppColor.iconColor(context),
)
.onPress(() async {
'filter'.toSvgAsset(width: 20, height: 20, color: AppColor.iconColor(context)).onPress(() async {
// Open filter page
final result = await Navigator.push<NotificationFilterModel>(
context,

Loading…
Cancel
Save