ToggleChip constructor

const ToggleChip({
  1. Key? key,
  2. required String label,
  3. ChipStyle? style,
  4. SdChipThemeData? theme,
  5. bool? value,
  6. bool initialValue = false,
  7. bool enabled = true,
  8. ValueChanged<bool>? onToggle,
})

Creates a toggle chip.

Implementation

const ToggleChip({
  super.key,
  required this.label,
  this.style,
  this.theme,
  this.value,
  this.initialValue = false,
  this.enabled = true,
  this.onToggle,
});