errorScreen method

  1. @override
Widget? errorScreen(
  1. dynamic error,
  2. void refresh()
)
override

Hook to be called if initialization fails.

Implementation

@override
Widget? errorScreen(error, void Function() refresh) {
  return _onError?.call(error, refresh);
}