8.7 released—WinterCG Compliance Part 1
Learn more
NavigationEntry
interface NavigationEntry extends ViewEntry {
  animated: boolean;
  backstackVisible: boolean;
  bindingContext: any;
  clearHistory: boolean;
  context: any;
  transition: NavigationTransition;
  transitionAndroid: NavigationTransition;
  transitioniOS: NavigationTransition;
}
Represents an entry in passed to navigate method.

Summary

Properties

animated

animated?: boolean
True to navigate to the new Page using animated transitions, false otherwise.

backstackVisible

backstackVisible?: boolean
True to record the navigation in the backstack, false otherwise. If the parameter is set to false then the Page will be displayed but once navigated from it will not be able to be navigated back to.

bindingContext

bindingContext?: any
An object to become the binding context of the page navigating to. Optional.

clearHistory

clearHistory?: boolean
True to clear the navigation history, false otherwise. Very useful when navigating away from login pages.

context

context?: any
An object passed to the onNavigatedTo callback of the Page. Typically this is used to pass some data among pages. Optional.

transition

Specifies an optional navigation transition for all platforms. If not specified, the default platform transition will be used.

transitionAndroid

transitionAndroid?: NavigationTransition
Specifies an optional navigation transition for Android. If not specified, the default platform transition will be used.

transitioniOS

transitioniOS?: NavigationTransition
Specifies an optional navigation transition for iOS. If not specified, the default platform transition will be used.