NeumorphicToggleStyle constructor

const NeumorphicToggleStyle({
  1. double? depth,
  2. bool animateOpacity = true,
  3. Color? backgroundColor,
  4. LightSource? lightSource,
  5. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)),
  6. bool? disableDepth,
  7. 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(),
});