builder property

Widget Function(BuildContext context, T state) builder
final

Function that builds the widget tree using the provided resource.

The resource is provided both as a parameter and through the widget tree via InheritedWidget, allowing access from descendant widgets using of or maybeOf.

Implementation

final Widget Function(BuildContext context, T state) builder;