navigationHistory property

NavigationHistory navigationHistory

The instance of NavigationHistory to be used by this router

There's only one NavigationHistory instance in the whole hierarchy that's built inside of the root navigator

sub-controllers will use that instance instead of creating their own

Implementation

NavigationHistory get navigationHistory => root.navigationHistory;