BaseFieldSwitch constructor

const BaseFieldSwitch({
  1. Key? key,
  2. required String title,
  3. bool value = false,
  4. Color? color,
  5. EdgeInsetsGeometry? padding,
  6. String subtitle = '',
  7. Color? background,
  8. required void onChanged(
    1. bool
    ),
})

Implementation

const BaseFieldSwitch({
  super.key,
  required this.title,
  this.value = false,
  this.color,
  this.padding,
  this.subtitle = '',
  this.background,
  required this.onChanged,
});