builder property

WidgetBuilder? builder

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:


final WidgetBuilder? builder;