ZetaSwitch constructor

const ZetaSwitch({
  1. Key? key,
  2. bool? value = false,
  3. ValueChanged<bool?>? onChanged,
  4. ZetaSwitchType? variant,
})

Constructor for ZetaSwitch.

Implementation

const ZetaSwitch({
  super.key,
  this.value = false,
  this.onChanged,
  this.variant,
});