GpWebViewScreen constructor
const
GpWebViewScreen({
- Key? key,
- required String url,
- Map<
String, String> ? headers, - List<
WebViewCookie> ? cookies, - String? title,
- Widget? titleWidget,
- List<
Widget> ? actions, - Widget? leading,
- bool centerTitle = false,
- 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 GpWebViewScreen({
super.key,
required this.url,
this.headers,
this.cookies,
this.title,
this.titleWidget,
this.actions,
this.leading,
this.centerTitle = false,
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,
});