ZetaCommsButton.transfer constructor

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

Constructs transfer ZetaCommsButton

Implementation

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