|
|
|
@ -20,7 +20,8 @@ class NotificationTabButton extends StatelessWidget {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return GestureDetector(
|
|
|
|
return GestureDetector(
|
|
|
|
onTap: onTap,
|
|
|
|
onTap: onTap,
|
|
|
|
child: Container(
|
|
|
|
child: AnimatedContainer(
|
|
|
|
|
|
|
|
duration: const Duration(milliseconds: 250),
|
|
|
|
alignment: Alignment.center,
|
|
|
|
alignment: Alignment.center,
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 6),
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 6),
|
|
|
|
decoration: ShapeDecoration(
|
|
|
|
decoration: ShapeDecoration(
|
|
|
|
@ -46,7 +47,7 @@ class NotificationTabButton extends StatelessWidget {
|
|
|
|
style: AppTextStyles.tinyFont.copyWith(
|
|
|
|
style: AppTextStyles.tinyFont.copyWith(
|
|
|
|
height: 1,
|
|
|
|
height: 1,
|
|
|
|
color: isSelected ? AppColor.primary10 : AppColor.filterButtonTextColor(context),
|
|
|
|
color: isSelected ? AppColor.primary10 : AppColor.filterButtonTextColor(context),
|
|
|
|
fontWeight: isSelected ? FontWeight.w600 : FontWeight.w500,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|