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