materialButtonSchemeColor property
Defines which Theme based ColorScheme based color, that the old MaterialButton use as its main theme color.
The MaterialButton is the parent class of old deprecated and removed
buttons RaisedButton
, OutlineButton
and FlatButton
. The theme
ButtonThemeData
it affects, is also used by ButtonBar and
DropdownButton and it may still be useful to theme to same style
as the theme used by the other buttons.
If not defined it defaults to theme.colorScheme.primary color via FlexColorScheme sub-theme defaults when opting on its sub themes.
Implementation
final SchemeColor? materialButtonSchemeColor;