stack property
List<Destination<DestinationParameters> >
stack
The navigation stack.
When goTo method is called, the destination is placed on the top of the stack, and when goBack method is called, the topmost destination is removed from the stack.
Implementation
List<Destination> get stack => _stack.toList();