OnLoadingBuilder typedef
OnLoadingBuilder =
Widget? Function(BuildContext context, Element element, double? loadingProgress)
A builder that specifies the widget to display to the user while a complicated element is still loading.
List of widgets that will trigger this method:
- The
HtmlWidget
itself - Image
- Video
Implementation
typedef OnLoadingBuilder = Widget? Function(
BuildContext context,
dom.Element element,
double? loadingProgress,
);