SwitchThemeData constructor Null safety
- {MaterialStateProperty<
Color?> ? thumbColor, - MaterialStateProperty<
Color?> ? trackColor, - MaterialTapTargetSize? materialTapTargetSize,
- MaterialStateProperty<
MouseCursor?> ? mouseCursor, - MaterialStateProperty<
Color?> ? overlayColor, - double? splashRadius}
Creates a theme that can be used for ThemeData.switchTheme.
Implementation
const SwitchThemeData({
this.thumbColor,
this.trackColor,
this.materialTapTargetSize,
this.mouseCursor,
this.overlayColor,
this.splashRadius,
});