builder property Null safety
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:
- Calling State.setState on a descendant StatefulWidget's State
- Modifying an InheritedWidget that a descendant registered itself as a dependent to.
Implementation
final WidgetBuilder? builder;