TextWithSwitch constructor

TextWithSwitch({
  1. Key? key,
  2. String label = 'Label',
  3. bool? value,
  4. dynamic onChanged(
    1. bool?
    )?,
  5. Color? color,
})

Implementation

TextWithSwitch({
  super.key,
  this.label = 'Label',
  this.value,
  this.onChanged,
  this.color,
});