OnErrorBuilder typedef

OnErrorBuilder = Widget? Function(BuildContext context, Element element, dynamic error)

A builder function that is called if an error occurs during a complicated element rendering.

See OnLoadingBuilder for the full list.

Implementation

typedef OnErrorBuilder = Widget? Function(
  BuildContext context,
  dom.Element element,
  dynamic error,
);