GpWebViewModal class

Muestra una URL en un bottom sheet (vía GpModal.showCustomModal) en vez de navegar a una pantalla nueva. Útil para contenido que el usuario consulta rápido sin salir del flujo en el que está (términos, ayuda, una promo) — para contenido que amerita su propia pantalla, usar GpWebViewScreen.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

show({BuildContext? context, required String url, Map<String, String>? headers, List<WebViewCookie>? cookies, String? title, double heightFactor = 0.92, Future<GpWebViewNavigationDecision> onNavigationRequest(String url)?, 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)?}) → Future<void>
context es opcional — ver nota en GpModal.showCustomModal.