FlipCardController class

Constructors

FlipCardController()

Properties

flipCardState FlipCardState?
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

Methods

animateToggle() Future<void>
Flip the card If awaited, returns after animation completes.
hint({Duration duration = const Duration(milliseconds: 150), 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 = Curves.linear}) Future<void>
Skew by amount percentage (0 - 1.0) This can be used with a MouseRegion to indicate that the card can be flipped. skew(0) to go back to original. If awaited, returns after animation completes.
toggle() → 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