ArcaneToggleButton constructor
const
ArcaneToggleButton({
- required bool value,
- void onChanged(
- bool value
- ArcaneInteraction? onChangeAction,
- String? label,
- Widget? icon,
- CycleButtonSize size = CycleButtonSize.medium,
- bool disabled = false,
- String? id,
- Map<
String, String> ? attributes, - ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
- Key? key,
Implementation
const ArcaneToggleButton({
required this.value,
this.onChanged,
this.onChangeAction,
this.label,
this.icon,
this.size = CycleButtonSize.medium,
this.disabled = false,
this.id,
this.attributes,
this.styles,
this.decoration,
super.key,
});