improvements

ui_ux_rollout_merge_notification_settings
Sikander Saleem 1 month ago
parent cce4359d7a
commit 0e947cfcc6

@ -181,23 +181,22 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
spacing: 12.toScreenHeight, spacing: 12.toScreenHeight,
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
12.height,
AppTextFormField( AppTextFormField(
controller: _searchController, controller: _searchController,
labelText: context.translation.search, labelText: context.translation.search,
showShadow: false, showShadow: false,
showBorder: true, showBorder: true,
prefixIconData: Icons.search, textInputAction: TextInputAction.search,
suffixIcon: "search".toSvgAsset(height: 24, width: 24, color: AppColor.icon2Color(context)).paddingOnly(end: 12),
onChange: (value) { onChange: (value) {
_onSearchChanged(value); _onSearchChanged(value);
}, },
), ),
// 8.height,
Row( Row(
children: [ children: [
Expanded( Expanded(
child: SizedBox( child: SizedBox(
height: 30.toScreenHeight, height: 34.toScreenHeight,
child: ListView.separated( child: ListView.separated(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
itemCount: 3, itemCount: 3,
@ -222,9 +221,8 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
), ),
), ),
8.width, 8.width,
// Sort & Filter Container
Container( Container(
height: 30.toScreenHeight, height: 34.toScreenHeight,
padding: const EdgeInsets.symmetric(horizontal: 6), padding: const EdgeInsets.symmetric(horizontal: 6),
decoration: BoxDecoration( decoration: BoxDecoration(
boxShadow: [BoxShadow(color: Colors.black.withOpacity(0.05), blurRadius: 14, offset: const Offset(0, 0), spreadRadius: 0)], boxShadow: [BoxShadow(color: Colors.black.withOpacity(0.05), blurRadius: 14, offset: const Offset(0, 0), spreadRadius: 0)],
@ -234,7 +232,6 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
), ),
child: Row( child: Row(
children: [ children: [
// Sort Icon
Transform.flip( Transform.flip(
flipY: isAscending, flipY: isAscending,
child: 'dashboard/sort_descending' child: 'dashboard/sort_descending'
@ -247,8 +244,7 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
_toggleSort(); _toggleSort();
}), }),
), ),
14.width, 12.width,
// Filter Icon
Stack( Stack(
clipBehavior: Clip.none, clipBehavior: Clip.none,
children: [ children: [
@ -336,7 +332,7 @@ class _NotificationsPageState extends State<NotificationsPage> with TickerProvid
), ),
), ),
], ],
).paddingOnly(start: 12, end: 12), ).paddingOnly(start: 16, end: 16, top: 16),
), ),
); );
} }

Loading…
Cancel
Save