CarouselAnimation class
A Carousel animation
- Inheritance
-
- Object
- CardAnimation
- SymmetricCardAnimation
- CarouselAnimation
- Available Extensions
Constructors
- CarouselAnimation({required SwipeDirection dismissDirection, double cardSpacingWidthFactor = 1})
Properties
- cardSpacingWidthFactor → double
-
Spacing between subsequent cards
final
- config → AnimationConfig
-
no setteroverride
- dismissDirection → SwipeDirection
-
The dismiss direction
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layoutConfig → LayoutConfig
-
no setterinherited
- revealAnimation → SwipeAnimation
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSize ↔ Size?
-
The size of the device as specified by MediaQuery
getter/setter pairinherited
Methods
-
animationForCard(
{required int relativeIndex}) → SwipeAnimation -
inherited
-
fractionalOffsetForCard(
{required int relativeIndex}) → FractionalOffset -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
opacityForCard(
{required int relativeIndex}) → OpacityAnimation -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited