WeSwitch constructor

WeSwitch({
  1. Color? color,
  2. double size = 28.0,
  3. bool checked = false,
  4. bool disabled = false,
  5. dynamic onChange(
    1. bool checked
    )?,
})

Implementation

WeSwitch(
    {this.color,
    this.size = 28.0,
    this.checked = false,
    this.disabled = false,
    this.onChange});