ZetaCommsButton.security constructor

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

Constructs security ZetaCommsButton

Implementation

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