onError method

Widget onError(
  1. BuildContext context,
  2. Object? data
)

Implementation

Widget onError(BuildContext context, Object? data) => const ErrorScreen();