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
? Theme.of(context)
.extension<StackColors>()!
.getPrimaryEnabledButtonColor(context)!
.getPrimaryEnabledButtonStyle(context)!
.copyWith(
minimumSize:
MaterialStateProperty.all<Size>(const Size(46, 36)),
)
: Theme.of(context)
.extension<StackColors>()!
.getSecondaryEnabledButtonColor(context)!
.getSecondaryEnabledButtonStyle(context)!
.copyWith(
minimumSize:
MaterialStateProperty.all<Size>(const Size(46, 36)),