replacePath method
Future<void>
replacePath(
- P path, {
- PageStackMatchMode mode = PageStackMatchMode.keyOrNullPathNoGap,
Replaces the stack of pages with the full default stack of path
(declarative navigation).
Implementation
Future<void> replacePath(
P path, {
PageStackMatchMode mode = PageStackMatchMode.keyOrNullPathNoGap,
}) async {
setConfiguration(
path.defaultStackConfiguration,
setter: _getConfigurationSetter(mode),
);
}