GpWebView constructor

const GpWebView({
  1. Key? key,
  2. required String url,
  3. Map<String, String>? headers,
  4. List<WebViewCookie>? cookies,
  5. Future<GpWebViewNavigationDecision> onNavigationRequest(
    1. String url
    )?,
  6. String errorTitle = 'No pudimos cargar la página',
  7. String errorRetryLabel = 'Reintentar',
  8. bool showLoadingOverlay = true,
  9. bool disableInputZoom = true,
  10. bool debugLogConsole = false,
  11. bool debugLogNetwork = false,
  12. bool debugLogStorage = false,
  13. void onControllerReady(
    1. WebViewController controller
    )?,
})

Implementation

const GpWebView({
  super.key,
  required this.url,
  this.headers,
  this.cookies,
  this.onNavigationRequest,
  this.errorTitle = 'No pudimos cargar la página',
  this.errorRetryLabel = 'Reintentar',
  this.showLoadingOverlay = true,
  this.disableInputZoom = true,
  this.debugLogConsole = false,
  this.debugLogNetwork = false,
  this.debugLogStorage = false,
  this.onControllerReady,
});