NexusInAppCarouselBlock class

A swipeable row of up to 10 cards. Cards share the image shape and type sizes; all are as tall as the tallest, with buttons pinned to the bottom.

Inheritance

Constructors

NexusInAppCarouselBlock(String id, {required List<NexusInAppCarouselCard> cards, required double aspectRatio, required bool contain, required bool peek, required bool bleed, required double radius, required double gap, required double padding, required double titleSize, required double bodySize, required bool showIndicator, required Color indicatorColor, required int autoplaySeconds})
const

Properties

aspectRatio → double
final
autoplaySeconds → int
0 = only by swiping.
final
bleed → bool
Edge to edge — ignores the frame's side padding.
final
bodySize → double
final
cards → List<NexusInAppCarouselCard>
final
contain → bool
final
gap → double
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
finalinherited
indicatorColor → Color
final
padding → double
final
peek → bool
Show the edge of the next card (cards are 84% wide).
final
radius → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showIndicator → bool
final
titleSize → double
final

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