ScaleEffect class

Inheritance

Constructors

ScaleEffect({double verticalScale = 0.2, double horizontalScale = 0.2, bool snap = true, AlignmentGeometry alignment = Alignment.center, AnimationType type = AnimationType.always})
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
horizontalScale → double
Scale effect horizontally
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snap → bool
Snap back to original size when not scrolling Only effective on the AnimatedItem
final
type → AnimationType
Animation type
final
verticalScale → double
Scale effect vertically
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