ZetaCommsButton constructor

const ZetaCommsButton({
  1. Key? key,
  2. String? label,
  3. ZetaCommsButtonType type = ZetaCommsButtonType.on,
  4. ZetaWidgetSize size = ZetaWidgetSize.medium,
  5. IconData? icon,
  6. ValueChanged<bool>? onToggle,
  7. IconData? toggledIcon,
  8. String? toggledLabel,
  9. ZetaCommsButtonType? toggledType,
  10. VoidCallback? onPressed,
  11. FocusNode? focusNode,
  12. 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,
});