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