controllerCanGoBack method

Future<bool> controllerCanGoBack()

Implementation

Future<bool> controllerCanGoBack() async {
  bool? inAppWebViewCanGoBack;
  try {
    inAppWebViewCanGoBack = await inAppWebViewController?.canGoBack();
  } catch (e) {
    if (kDebugMode) print(e);
  }
  return inAppWebViewCanGoBack ?? false;
}