getErrorView method

  1. @protected
Widget getErrorView(
  1. AsyncSnapshot<Map<String, List<Map<String, Object?>?>?>?> snapshot,
  2. T controller
)

Implementation

@protected
Widget getErrorView(
  AsyncSnapshot<Map<String, List<Map<String, Object?>?>?>?> snapshot,
  T controller,
) {
  return Center(
    child: Image.asset(
      'assets/images/404-error.png',
      height: 100,
      width: 100,
    ),
  );
}