onHistoryChanged method

void onHistoryChanged(
  1. bool canGoBack,
  2. bool canGoForward
)

Implementation

void onHistoryChanged(bool canGoBack, bool canGoForward) {
  assert(!_closed);
  _onHistoryChanged?.call(canGoBack, canGoForward);
}