AnimationConfig class
A configuration object used to determine the gesture behaviour of a CardAnimation
Constructors
- AnimationConfig({SwipeDirection dismissDirection = SwipeDirection.left, bool reversible = false})
-
CardAnimation swipe configuration
dissmissDirection
either left of right, reversible determines if can navigate to previous cards or can only walk through the cards once.
Properties
- dismissDirection → SwipeDirection
-
Swipe direction for dismissing the current card
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reversible → bool
-
Can go back to previous card ?
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{SwipeDirection? dismissDirection, bool? reversible}) → AnimationConfig - Returns a copy of this object by ovewriting properties with the supplied arguments
-
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