onError property

(Future<bool> Function(dynamic)?) onError
final

Callback if an Error occurs

If this returns false the default error screen is not shown. This functionality can be used to do a custom Widget or Transition

Implementation

final Future<bool> Function(dynamic)? onError;