WidgetBuilder typedef

Widget WidgetBuilder (
  1. 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);