goTo method

Future<void> goTo({
  1. required WebHistoryItem historyItem,
})

Navigates to a WebHistoryItem from the back-forward WebHistory.list and sets it as the current item.

NOTE for Web: this method will have effect only if the iframe has the same origin.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS
  • Web
  • Windows

Implementation

Future<void> goTo({required WebHistoryItem historyItem}) =>
    platform.goTo(historyItem: historyItem);