ZetaCommsButton.hold constructor
- Key? key,
- String? label,
- ZetaWidgetSize size = ZetaWidgetSize.medium,
- ValueChanged<
bool> ? onToggle, - String? toggledLabel,
- VoidCallback? onPressed,
- FocusNode? focusNode,
- String? semanticLabel,
Constructs hold ZetaCommsButton
Implementation
const ZetaCommsButton.hold({
super.key,
this.label,
this.size = ZetaWidgetSize.medium,
this.onToggle,
this.toggledLabel,
this.onPressed,
this.focusNode,
this.semanticLabel,
}) : type = ZetaCommsButtonType.on,
icon = ZetaIcons.pause,
toggledIcon = ZetaIcons.pause,
toggledType = ZetaCommsButtonType.off;