FdcRowAction.delete constructor

const FdcRowAction.delete({
  1. String? tooltip = deleteTooltip,
  2. FdcRowActionPredicate? enabled,
  3. FdcRowActionPredicate? visible,
  4. bool activateRowOnPressed = false,
  5. Color? color = const Color(0xFFD32F2F),
  6. Color? disabledColor,
})

Creates a built-in delete action.

Implementation

const FdcRowAction.delete({
  this.tooltip = deleteTooltip,
  this.enabled,
  this.visible,
  this.activateRowOnPressed = false,
  this.color = const Color(0xFFD32F2F),
  this.disabledColor,
}) : icon = Icons.delete_outline,
     onPressed = null,
     _deleteAction = true;