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