elevatedButtonSchemeColor property
Defines which Theme based ColorScheme based color, that the ElevatedButton used as its main color.
If useMaterial3
is false, the elevatedButtonSchemeColor is used as
button background color in M2 style. If useMaterial3
is true, it is
used as the button foreground color for text and icon.
If not defined, it defaults to theme.colorScheme.primary color via FlexColorScheme sub-theme defaults when opting on sub themes.
Implementation
final SchemeColor? elevatedButtonSchemeColor;