isAbortable property
bool
get
isAbortable
When isAbortable is true
, the button will activate abort action
when pressed again before the onPressed
future is completed.
Implementation
bool get isAbortable => onAbort != null;