getPrimaryEnabledButtonColor -> getPrimaryEnabledButtonStyle

This commit is contained in:
sneurlax 2023-01-24 15:32:39 -06:00
parent b4c16ec0b0
commit 8b6fcd23b4

View file

@ -135,14 +135,14 @@ class _HomeViewButtonBarState extends ConsumerState<HomeViewButtonBar> {
style: selectedIndex == 2 style: selectedIndex == 2
? Theme.of(context) ? Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.getPrimaryEnabledButtonColor(context)! .getPrimaryEnabledButtonStyle(context)!
.copyWith( .copyWith(
minimumSize: minimumSize:
MaterialStateProperty.all<Size>(const Size(46, 36)), MaterialStateProperty.all<Size>(const Size(46, 36)),
) )
: Theme.of(context) : Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.getSecondaryEnabledButtonColor(context)! .getSecondaryEnabledButtonStyle(context)!
.copyWith( .copyWith(
minimumSize: minimumSize:
MaterialStateProperty.all<Size>(const Size(46, 36)), MaterialStateProperty.all<Size>(const Size(46, 36)),