ZetaCommsButton.reject constructor

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

Constructs reject call ZetaCommsButton

Implementation

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