whenError property

(Widget Function(Object? error)?) whenError
final

Function to call when the asynchronous computation is done with error. If no function is passed, whenNotDone() will be used instead

Implementation

final Widget Function(Object? error)? whenError;