FlipCardController class

Constructors

FlipCardController()

Properties

controller AnimationController?
The underlying AnimationController. Use only if you know what you're doing!
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state FlipCardState?
The internal widget state. Use only if you know what you're doing!
getter/setter pair

Methods

hint({Duration? duration, Duration? total}) Future<void>
Triggers a flip animation that reverses after the duration and will run for total If awaited, returns after animation completes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
skew(double amount, {Duration? duration, Curve? curve}) Future<void>
Skew by amount percentage (0 - 1.0) This can be used with a MouseReagion to indicate that the card can be flipped. skew(0) to go back to original. If awaited, returns after animation completes.
toggleCard() Future<void>
Flip the card If awaited, returns after animation completes.
toggleCardWithoutAnimation() → void
Flip the card without playing an animation. This cancels any ongoing animation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited