NeumorphicToggleStyle constructor
const
NeumorphicToggleStyle({
- double? depth,
- bool animateOpacity = true,
- Color? backgroundColor,
- LightSource? lightSource,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)),
- bool? disableDepth,
- NeumorphicBorder border = const NeumorphicBorder.none(),
Implementation
const NeumorphicToggleStyle({
this.depth,
this.animateOpacity = true,
this.backgroundColor,
this.lightSource,
this.borderRadius = const BorderRadius.all(Radius.circular(12)),
this.disableDepth,
this.border = const NeumorphicBorder.none(),
});