EmergentToggleStyle constructor

const EmergentToggleStyle({
  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. 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(),
});