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