canGoBackOrForward method

Future<bool> canGoBackOrForward({
  1. required int steps,
})

Returns a boolean value indicating whether the WebView can go back or forward the given number of steps. Steps is negative if backward and positive if forward.

Officially Supported Platforms/Implementations:

Implementation

Future<bool> canGoBackOrForward({required int steps}) {
  throw UnimplementedError(
      'canGoBackOrForward is not implemented on the current platform');
}