WidgetOverrideBuilder typedef

WidgetOverrideBuilder = Widget Function(BuildContext context, WidgetBuilder child)

Can be used to override the build process of a widget.

The child parameter contains the original builder. That means that child would have been used to build the widget if you hadn't used a WidgetOverrideBuilder.

Implementation

typedef Widget WidgetOverrideBuilder(BuildContext context, WidgetBuilder child);