FormuxSwitchButton constructor

const FormuxSwitchButton({
  1. Key? key,
  2. dynamic onChange(
    1. bool value
    )?,
  3. Color? activeColor,
  4. bool value = false,
  5. bool enabled = true,
})

Implementation

const FormuxSwitchButton({
  super.key,
  this.onChange,
  this.activeColor,
  this.value = false,
  this.enabled = true,
});