RotateEffect class
- Inheritance
-
- Object
- ScrollEffect
- RotateEffect
Constructors
- RotateEffect({double rotationAngle = 10, bool snap = true, AnimationType type = AnimationType.start, AlignmentGeometry alignment = Alignment.center})
-
const
Properties
- alignment → AlignmentGeometry
-
The alignment of the origin, relative to the size of the child.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotationAngle → double
-
Adjust rotation angle as needed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snap → bool
-
Snap back to original angle when not scrolling
Only effective on the AnimatedItem
final
- type → AnimationType
-
Animation type
final
Methods
-
buildEffect(
{required Widget child, required int index, required double position, double? itemWidth, double? itemHeight, bool? isScrolling, required AnimationScrollDirection direction}) → Widget -
override
-
isStatic(
double delta, AnimationType type, AnimationScrollDirection direction, [bool snap = true, bool? isScrolling]) → bool -
inherited
-
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