switchThumbSchemeColor property
Defines which Theme based ColorScheme based color the Switch and SwitchListTile use as themed thumb color.
All colors in the color scheme are not good choices, but some work well.
If not defined, defaults to:
- If
useMaterial3
is false switchSchemeColor. - If
useMaterial3
is true SchemeColor.primaryContainer.
Implementation
final SchemeColor? switchThumbSchemeColor;