KSwitch constructor

const KSwitch({
  1. Key? key,
  2. bool value = false,
  3. dynamic onChange(
    1. bool
    )?,
  4. bool disabled = false,
})

Implementation

const KSwitch(
    {super.key, this.value = false, this.onChange, this.disabled = false});