canAbort property

bool get canAbort

The flag indicating that the button can be pressed to cancel the future.

Implementation

bool get canAbort => abortCanBePressed && onAbort != null;