FSAnimationSequence class
Animation sequence configuration for complex multi-step animations
- Inheritance
-
- Object
- FSAnimationBase
- FSAnimationSequence
Constructors
-
FSAnimationSequence({required Duration duration, required Curve curve, required List<
FSAnimationStep> steps}) -
const
-
FSAnimationSequence.validated({required Duration duration, required Curve curve, required List<
FSAnimationStep> steps}) -
✅ ADDED: Factory constructor with validation
factory
Properties
- curve → Curve
-
finalinherited
- duration → Duration
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasSteps → bool
-
✅ ADDED: Validate steps are not empty
no setter
- isValidDuration → bool
-
✅ ADDED: Validate that sequence duration matches calculated total
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
steps
→ List<
FSAnimationStep> -
final
- totalDuration → Duration
-
Total duration including all steps and delays
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
✅ ADDED: Equality and hashcode for better state management
override