From 5744e6afbf02096329ad55f04252726903807639 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Mon, 6 Jul 2026 10:28:13 +0300 Subject: [PATCH] improvements --- .../user/notifications/widgets/notification_tab_button.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/views/pages/user/notifications/widgets/notification_tab_button.dart b/lib/views/pages/user/notifications/widgets/notification_tab_button.dart index 64ecff9a..f0cfe869 100644 --- a/lib/views/pages/user/notifications/widgets/notification_tab_button.dart +++ b/lib/views/pages/user/notifications/widgets/notification_tab_button.dart @@ -20,7 +20,8 @@ class NotificationTabButton extends StatelessWidget { Widget build(BuildContext context) { return GestureDetector( onTap: onTap, - child: Container( + child: AnimatedContainer( + duration: const Duration(milliseconds: 250), alignment: Alignment.center, padding: const EdgeInsets.symmetric(horizontal: 6), decoration: ShapeDecoration( @@ -46,7 +47,7 @@ class NotificationTabButton extends StatelessWidget { style: AppTextStyles.tinyFont.copyWith( height: 1, color: isSelected ? AppColor.primary10 : AppColor.filterButtonTextColor(context), - fontWeight: isSelected ? FontWeight.w600 : FontWeight.w500, + fontWeight: FontWeight.w500, ), ), ),