HostControlSwitch constructor

const HostControlSwitch({
  1. Key? key,
  2. required String title,
  3. required String subtitle,
  4. required bool value,
  5. required ValueChanged<bool> onChanged,
  6. bool isChild = false,
  7. bool isDividerRequired = true,
  8. bool isEnable = true,
})

Implementation

const HostControlSwitch({
  super.key,
  required this.title,
  required this.subtitle,
  required this.value,
  required this.onChanged,
  this.isChild = false,
  this.isDividerRequired = true,
  this.isEnable = true,
});