DotAnimationConfig class
Configuration for animating a single dot in the GWaveDotSpinner widget.
Constructors
- DotAnimationConfig({required Interval heightInterval, required Interval offsetInterval, required Interval reverseHeightInterval, required Interval reverseOffsetInterval, required double maxHeight, required double maxOffset})
-
Creates a config with explicit intervals and dot bounds.
const
- DotAnimationConfig.forIndex({required int index, required int dotCount, required double baseSize, required bool isEven})
-
Creates a config for a dot based on its index and total dot count.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- heightInterval → Interval
-
Interval used to animate the dot height upward.
final
- maxHeight → double
-
Maximum dot height.
final
- maxOffset → double
-
Maximum vertical dot offset.
final
- offsetInterval → Interval
-
Interval used to animate the dot offset upward.
final
- reverseHeightInterval → Interval
-
Interval used to animate the dot height back down.
final
- reverseOffsetInterval → Interval
-
Interval used to animate the dot offset back down.
final
- 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