SubZeroBinaryToggle constructor
const
SubZeroBinaryToggle({
- Key? key,
- required bool value,
- required ValueChanged<
bool> ? onChanged, - SubZeroToggleSize size = SubZeroToggleSize.medium,
- bool enabled = true,
- String? semanticLabel,
- Color? activeColor,
- Color? inactiveTrackColor,
- Color? inactiveThumbColor,
Implementation
const SubZeroBinaryToggle({
super.key,
required this.value,
required this.onChanged,
this.size = SubZeroToggleSize.medium,
this.enabled = true,
this.semanticLabel,
this.activeColor,
this.inactiveTrackColor,
this.inactiveThumbColor,
});