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