ZetaCommsButton.mute constructor

const ZetaCommsButton.mute({
  1. Key? key,
  2. String? label,
  3. ZetaWidgetSize size = ZetaWidgetSize.medium,
  4. ValueChanged<bool>? onToggle,
  5. String? toggledLabel,
  6. VoidCallback? onPressed,
  7. FocusNode? focusNode,
  8. String? semanticLabel,
})

Constructs mute ZetaCommsButton

Implementation

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