OudsSwitchButtonItem constructor

const OudsSwitchButtonItem({
  1. Key? key,
  2. required bool value,
  3. required ValueChanged<bool>? onChanged,
  4. required String title,
  5. String? helperTitle,
  6. String? icon,
  7. bool reversed = false,
  8. bool readOnly = false,
  9. bool isError = false,
  10. bool enabled = true,
  11. bool divider = false,
})

Implementation

const OudsSwitchButtonItem({
  super.key,
  required this.value,
  required this.onChanged,
  required this.title,
  this.helperTitle,
  this.icon,
  this.reversed = false,
  this.readOnly = false,
  this.isError = false,
  this.enabled = true,
  this.divider = false,
});