CupertinoSwitchData constructor

CupertinoSwitchData({
  1. Key? widgetKey,
  2. bool? value,
  3. void onChanged(
    1. bool
    )?,
  4. Color? activeColor,
  5. DragStartBehavior? dragStartBehavior,
  6. Color? trackColor,
  7. Color? thumbColor,
})

Implementation

CupertinoSwitchData({
  super.widgetKey,
  super.value,
  super.onChanged,
  super.activeColor,
  super.dragStartBehavior,
  this.trackColor,
  this.thumbColor,
});