errorScreen method

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

Hook to be called if initialization fails.

Implementation

Widget? errorScreen(dynamic error, void Function() refresh) {
  return null;
}