setOnHistoryChangedCallback method

  1. @override
void setOnHistoryChangedCallback(
  1. OnHistoryChangedCallback? callback
)
override

Register a callback that will be invoked when the webview history changes.

Implementation

@override
void setOnHistoryChangedCallback(OnHistoryChangedCallback? callback) {
  _onHistoryChanged = callback;
}