NavigatorContainer<T, N extends NavChildState>.raw constructor
- Key? key,
- required T currentKey,
- NestedTransitionBuilder transitionBuilder = _defaultTransitionBuilder,
- required Map<
T, NavWidgetBuilder< builders,T, N> >
Creates a raw navigator container that navigates between the
children built by the various builders as the currentKey changes.
Each child will have some corresponding state which can extend NavChildState. The state contains animation and visibility parameters but can be extended with a custom class to contain additional state per child.
Implementation
const NavigatorContainer.raw({
super.key,
required this.currentKey,
this.transitionBuilder = _defaultTransitionBuilder,
required this.navStateBuilder,
required this.builders,
});