CustomSwitch constructor

const CustomSwitch({
  1. Key? key,
  2. required String title,
  3. required String subtitle,
  4. required bool value,
  5. required void onChanged(
    1. bool? newValue
    ),
  6. double? titleFontSize,
  7. double? subtitleFontSize,
})

Implementation

const CustomSwitch({
  super.key,
  required this.title,
  required this.subtitle,
  required this.value,
  required this.onChanged,
  this.titleFontSize,
  this.subtitleFontSize,
});