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