ToggleChip constructor
const
ToggleChip({
- Key? key,
- required String label,
- ChipStyle? style,
- SdChipThemeData? theme,
- bool? value,
- bool initialValue = false,
- bool enabled = true,
- 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,
});