WidgetBuilder typedef

Widget WidgetBuilder (BuildContext context)

Signature for a function that creates a widget, e.g. StatelessWidget.build or State.build.

Used by Builder.builder, OverlayEntry.builder, etc.

Implementation

typedef WidgetBuilder = Widget Function(BuildContext context);