index property

  1. @override
int index
getter/setter pairoverride-getter

The current index in the history stack.

This is useful for tracking the position in the history stack after page refresh, especially on the web where the browser maintains the history stack but application state is lost.

Implementation

@override
late int index;