ZetaCommsButton.add constructor

const ZetaCommsButton.add({
  1. Key? key,
  2. String? label,
  3. ZetaWidgetSize size = ZetaWidgetSize.medium,
  4. VoidCallback? onPressed,
  5. FocusNode? focusNode,
  6. String? semanticLabel,
})

Constructs add ZetaCommsButton

Implementation

const ZetaCommsButton.add({
  super.key,
  this.label,
  this.size = ZetaWidgetSize.medium,
  this.onPressed,
  this.focusNode,
  this.semanticLabel,
})  : type = ZetaCommsButtonType.on,
      icon = ZetaIcons.add_group,
      onToggle = null,
      toggledIcon = null,
      toggledLabel = null,
      toggledType = null;