onError property
The optional handler that explicitly consumes activation errors.
Loading stays active until it finishes. Handler failures propagate without invoking it again. Captured at activation and called even after disposal; check your own lifecycle before using captured state or context. See AsyncButtonErrorHandler for the shared policy.
Implementation
final AsyncButtonErrorHandler? onError;