elevatedButtonSecondarySchemeColor property
Defines which Theme based ColorScheme based color, that the ElevatedButton uses as its secondary color.
If useMaterial3
is false, the elevatedButtonSecondarySchemeColor is
used as button foreground color in M2 style. If useMaterial3
is true,
it is used as the button background color.
If not defined, the elevatedButtonSchemeColor's on color will be used if
useMaterial3
is false, and if it is true, then ColorScheme.surface
will be used as default.
Implementation
final SchemeColor? elevatedButtonSecondarySchemeColor;