AdaptiveSwitch constructor

AdaptiveSwitch(
  1. {bool value,
  2. void onChanged(
    1. bool value
    ),
  3. Color activeColor,
  4. Color activeTrackColor,
  5. Color inactiveThumbColor,
  6. Color inactiveTrackColor,
  7. ImageProvider<Object> activeThumbImage,
  8. ImageProvider<Object> inactiveThumbImage,
  9. MaterialTapTargetSize materialTapTargetSize}
)

Implementation

AdaptiveSwitch({
  this.value,
  this.onChanged,
  this.activeColor,
  this.activeTrackColor,
  this.inactiveThumbColor,
  this.inactiveTrackColor,
  this.activeThumbImage,
  this.inactiveThumbImage,
  this.materialTapTargetSize,
});