WidgetBuilder typedef Null safety

WidgetBuilder = Widget Function(BuildContext context)

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

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

See also:

Implementation

typedef WidgetBuilder = Widget Function(BuildContext context);