ZetaSlidableAction.ptt constructor

const ZetaSlidableAction.ptt({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. String? semanticLabel = 'PTT',
  4. bool paleColor = false,
})

Constructs a PTT ZetaSlidableAction.

Implementation

const ZetaSlidableAction.ptt({
  super.key,
  this.onPressed,
  this.semanticLabel = 'PTT',
  this.paleColor = false,
})  : icon = ZetaIcons.ptt,
      color = null,
      customForegroundColor = null,
      customBackgroundColor = null,
      _type = _ZetaSlidableActionType.ptt;