SwitchButtonWidget constructor

const SwitchButtonWidget({
  1. Key? key,
  2. dynamic onChange(
    1. SwitchButtonItem
    )?,
  3. List<SwitchButtonItem>? items,
  4. Color? colorBackground,
})

Implementation

const SwitchButtonWidget({
  super.key,
  this.onChange,
  this.items,
  this.colorBackground,
});