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, ), ), ),