GpPopupCarousel class

Carrusel de popups deslizable, en un diálogo centrado (vía GpModal.show). Pensado para anuncios/promos que se buscan después de entrar a la app (uno o varios) y se muestran encima de todo — la app se encarga de conseguir los items, la librería solo los muestra y deja deslizar entre ellos.

El tamaño se elige con GpPopupCarouselSize (compact/medium/ fullscreen) en vez de píxeles fijos, para que se vea consistente sin importar el tamaño del dispositivo.

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 List<GpPopupCarouselItem> items, GpPopupCarouselSize size = GpPopupCarouselSize.medium, bool dismissible = true, String closeSemanticLabel = 'Cerrar'}) → Future<void>
context es opcional — ver nota en GpModal.showCustomModal.