update packages
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user