SwitchInputWidget constructor

const SwitchInputWidget({
  1. Key? key,
  2. required String formControlName,
  3. String color = 'primary',
  4. bool disabled = false,
  5. void onChanged(
    1. bool?
    )?,
})

Implementation

const SwitchInputWidget(
    {Key? key,
    required this.formControlName,
    this.color = 'primary',
    this.disabled = false,
    this.onChanged})
    : super(key: key);