BounceStyle class

弹性配置

Constructors

BounceStyle({Duration duration = const Duration(milliseconds: 200), double maxDistance = 120, double k = 0.8})
BounceStyle.disable()
k为1意味着阻止任何回弹

Properties

duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
k double
final
maxDistance double
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