GpWebView constructor
const
GpWebView({
- Key? key,
- required String url,
- Map<
String, String> ? headers, - List<
WebViewCookie> ? cookies, - String errorTitle = 'No pudimos cargar la página',
- String errorRetryLabel = 'Reintentar',
- bool showLoadingOverlay = true,
- bool disableInputZoom = true,
- bool debugLogConsole = false,
- bool debugLogNetwork = false,
- bool debugLogStorage = false,
- void onControllerReady(
- 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,
});