QUSwitch constructor

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

Implementation

const QUSwitch(
    {Key? key,
    this.disabled = false,
    required this.value,
    required this.onChanged})
    : super(key: key);