historyState property

  1. @override
Map<String, String> historyState
getter/setter pairoverride-getter

This state is saved in the browser history. This means that if the user presses the back or forward button on the navigator, this historyState will be the same as the last one you saved.

It can be changed by using context.vRouter.to(context.vRouter.url!, historyState: newHistoryState, isReplacement: true)

Implementation

@override
Map<String, String> historyState;