AnimationPreset enum
Animation presets available for icon buttons
These presets define different animation types that can be applied to icon buttons when tapped.
- Inheritance
- Available extensions
Values
- none → const AnimationPreset
-
No animation
- scale → const AnimationPreset
-
Simple scale transformation with easeOut curve
- pulse → const AnimationPreset
-
Scale animation with easeInOut curve for smooth pulsing
- bounce → const AnimationPreset
-
Scale animation with bounceOut curve for elastic effect
- fadeScale → const AnimationPreset
-
Combined opacity and scale transformations
- rotate → const AnimationPreset
-
Rotation transformation with configurable angle (0-360°)
- shake → const AnimationPreset
-
Horizontal shake using sine wave pattern
- growWiggle → const AnimationPreset
-
Two-phase animation: grow then wiggle
- Phase 1: Grow (scale up)
- Phase 2: Wiggle (sine-based rotation)
Properties
- description → String
-
Available on AnimationPreset, provided by the AnimationPresetExtension extension
Description of the animation presetno setter - displayName → String
-
Available on AnimationPreset, provided by the AnimationPresetExtension extension
Display name for the animation presetno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Available on AnimationPreset, provided by the AnimationPresetExtension extension
Icon representing the animation presetno setter - 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<
AnimationPreset> - A constant List of the values in this enum, in order of their declaration.