OnLoadingBuilder typedef Null safety

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:

Implementation

typedef OnLoadingBuilder = Widget? Function(
  BuildContext context,
  dom.Element element,
  double? loadingProgress,
);