diff --git a/lib/views/pages/user/notifications/notifications_page.dart b/lib/views/pages/user/notifications/notifications_page.dart index 8e4a68ea..938f6cae 100644 --- a/lib/views/pages/user/notifications/notifications_page.dart +++ b/lib/views/pages/user/notifications/notifications_page.dart @@ -181,23 +181,22 @@ class _NotificationsPageState extends State 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 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 with TickerProvid ), child: Row( children: [ - // Sort Icon Transform.flip( flipY: isAscending, child: 'dashboard/sort_descending' @@ -247,8 +244,7 @@ class _NotificationsPageState extends State with TickerProvid _toggleSort(); }), ), - 14.width, - // Filter Icon + 12.width, Stack( clipBehavior: Clip.none, children: [ @@ -336,7 +332,7 @@ class _NotificationsPageState extends State with TickerProvid ), ), ], - ).paddingOnly(start: 12, end: 12), + ).paddingOnly(start: 16, end: 16, top: 16), ), ); }