CarouselBehavior class abstract final

What Compose's Carousel sets in code (behavior.yaml, verified at the pin).

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

Constants

anchorSize → const Dp
The size of the anchor keylines just outside either edge, where an item leaving or entering the carousel is masked to (CarouselDefaults.AnchorSize). (Carousel.kt line 800.)
maxSmallItemSize → const Dp
The largest a small (peeking) item of a multi-browse or hero carousel may be (CarouselDefaults.MaxSmallItemSize). (Carousel.kt line 798.)
mediumLargeItemDiffThreshold → const double
An uncontained carousel's cut-off item may grow to this fraction of the large item before it is sized by the fifth cut-off instead (CarouselDefaults.MediumLargeItemDiffThreshold). (Carousel.kt line 801.)
minSmallItemSize → const Dp
The smallest a small (peeking) item of a multi-browse or hero carousel may be (CarouselDefaults.MinSmallItemSize). (Carousel.kt line 795.)