onDisplayError property

(void Function(BuildContext context, Object error)?) onDisplayError
final

Called when an error should be displayed to user. Usually used with a SnackBar system or equivalent.

Implementation

final void Function(BuildContext context, Object error)? onDisplayError;