ZetaCommsButton.record constructor

const ZetaCommsButton.record({
  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 record ZetaCommsButton

Implementation

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