update packages

This commit is contained in:
2023-05-19 11:06:41 +07:00
parent 6b32fbda95
commit aeea3ec77b
4 changed files with 287 additions and 134 deletions

View File

@@ -19,7 +19,7 @@ class TabButton extends StatelessWidget {
width: 40.0,
decoration: BoxDecoration(
color: selected
? Theme.of(context).accentColor.withOpacity(0.2)
? Theme.of(context).colorScheme.primary.withOpacity(0.2)
: Colors.transparent,
borderRadius: BorderRadius.all(
Radius.circular(5.0),
@@ -36,7 +36,7 @@ class TabButton extends StatelessWidget {
child: Icon(
icon,
color: selected
? Theme.of(context).accentColor
? Theme.of(context).colorScheme.primary
: Theme.of(context).iconTheme.color,
),
),