EmergentSwitchStyle constructor

const EmergentSwitchStyle({
  1. double? trackDepth,
  2. EmergentShape? thumbShape = EmergentShape.concave,
  3. Color? activeTrackColor,
  4. Color? inactiveTrackColor,
  5. Color? activeThumbColor,
  6. Color? inactiveThumbColor,
  7. double? thumbDepth,
  8. LightSource? lightSource,
  9. bool disableDepth = false,
  10. EmergentBorder thumbBorder = const EmergentBorder.none(),
  11. EmergentBorder trackBorder = const EmergentBorder.none(),
})

Implementation

const EmergentSwitchStyle({
  this.trackDepth,
  this.thumbShape = EmergentShape.concave,
  this.activeTrackColor,
  this.inactiveTrackColor,
  this.activeThumbColor,
  this.inactiveThumbColor,
  this.thumbDepth,
  this.lightSource,
  this.disableDepth = false,
  this.thumbBorder = const EmergentBorder.none(),
  this.trackBorder = const EmergentBorder.none(),
});