FdcRowAction.delete constructor
const
FdcRowAction.delete({
- String? tooltip = deleteTooltip,
- FdcRowActionPredicate? enabled,
- FdcRowActionPredicate? visible,
- bool activateRowOnPressed = false,
- Color? color = const Color(0xFFD32F2F),
- 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;