builder property

WidgetBuilder? builder
final

The widget builder for the default route of the tab view (Navigator.defaultRouteName, which is /).

If a builder is specified, then routes must not include an entry for /, as builder takes its place.

Rebuilding a CupertinoTabView with a different builder will not clear its current navigation stack or update its descendant. Instead, trigger a rebuild from a descendant in its subtree. This can be done via methods such as:

Implementation

final WidgetBuilder? builder;