ZetaSlidableAction.delete constructor

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

Constructs a Delete ZetaSlidableAction.

Implementation

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