GpWebViewScreen constructor

const GpWebViewScreen({
  1. Key? key,
  2. required String url,
  3. Map<String, String>? headers,
  4. List<WebViewCookie>? cookies,
  5. String? title,
  6. Widget? titleWidget,
  7. List<Widget>? actions,
  8. Widget? leading,
  9. bool centerTitle = false,
  10. Future<GpWebViewNavigationDecision> onNavigationRequest(
    1. String url
    )?,
  11. String errorTitle = 'No pudimos cargar la página',
  12. String errorRetryLabel = 'Reintentar',
  13. bool showLoadingOverlay = true,
  14. bool disableInputZoom = true,
  15. bool debugLogConsole = false,
  16. bool debugLogNetwork = false,
  17. bool debugLogStorage = false,
  18. void onControllerReady(
    1. 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,
});