EmergentSwitchStyle constructor
const
EmergentSwitchStyle({
- double? trackDepth,
- EmergentShape? thumbShape = EmergentShape.concave,
- Color? activeTrackColor,
- Color? inactiveTrackColor,
- Color? activeThumbColor,
- Color? inactiveThumbColor,
- double? thumbDepth,
- LightSource? lightSource,
- bool disableDepth = false,
- EmergentBorder thumbBorder = const EmergentBorder.none(),
- EmergentBorder trackBorder = const EmergentBorder.none(),
Implementation
const EmergentSwitchStyle({
this.trackDepth,
this.thumbShape = EmergentShape.concave,
this.activeTrackColor,
this.inactiveTrackColor,
this.activeThumbColor,
this.inactiveThumbColor,
this.thumbDepth,
this.lightSource,
this.disableDepth = false,
this.thumbBorder = const EmergentBorder.none(),
this.trackBorder = const EmergentBorder.none(),
});