SlinkyScrollParameter class
SlinkyScrollParameter is a class that scroll animation parameters.
Constructors
- SlinkyScrollParameter({Duration duration = const Duration(milliseconds: 100), Curve curve = Curves.linear, double scrollTolerance = 0.1})
-
const
Properties
- curve → Curve
-
Animation curves.
The default value is
Curves.linear
.final - duration → Duration
-
Scrolling time.
The default value is
Duration(milliseconds: 100)
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollTolerance → double
-
Scroll amount tolerance.
The default value is
0.1
.final
Methods
-
copyWith(
{Duration? duration, Curve? curve, double? scrollTolerance}) → SlinkyScrollParameter - Creates a copy of this SlinkyScrollAnimationParameter but with the given fields replaced with the new values.
-
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