CountdownType enum
Per-digit transition used by CardCountdown when a value changes.
The layout/measurement code in card_countdown.dart is
transition-agnostic — adding a new value here only means adding a
matching branch in FlipCardPainter's per-cell dispatch. All three share
the same CardCountdown.duration timing knob.
Values
- calendar → const CountdownType
-
Split-flap card flip (the original/default look) — the card is cut in half; the top half falls away while the bottom half stays put, like a mechanical flip calendar/clock.
- slide → const CountdownType
-
Old digit slides out, new digit slides in from the opposite edge. See
CardCountdown.scaleEffect/opacityEffect. - flip → const CountdownType
-
The whole card — background and digit together — rotates around the X axis as one rigid plane (like flipping a physical card over), not split into two halves like calendar. See
CardCountdown.perspective/scaleEffect/opacityEffect.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
values
→ const List<
CountdownType> - A constant List of the values in this enum, in order of their declaration.