builder property Null safety

WidgetBuilder builder
final

A builder that builds the widget tree for the CupertinoModalPopupRoute.

The builder argument typically builds a CupertinoActionSheet widget.

Content below the widget is dimmed with a ModalBarrier. The widget built by the builder does not share a context with the route it was originally built from. Use a StatefulBuilder or a custom StatefulWidget if the widget needs to update dynamically.

Implementation

final WidgetBuilder builder;