SpringTokens class abstract final

The shared spring scale (motion brief §2.1), as integers.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Methods

scale(MotionScheme scheme) → (SpringToken, SpringToken, SpringToken)
(fast, normal, slow) spatial springs of scheme.

Constants

effectsDefault → const SpringToken
effectsFast → const SpringToken
effectsSlow → const SpringToken
expressiveFast → const SpringToken
expressiveNormal → const SpringToken
expressiveSlow → const SpringToken
fadeFastMs → const int
Reduce Motion fades (ms).
fadeMs → const int
glassPressIn → const SpringToken
withDurationAndBounce(150 ms, 0.15).
hardPress → const SpringToken
Ours: 39 ms to 90 %, hard plunk families.
minPressMs → const int
Release starts no earlier than this after touch-down (ms).
standardFast → const SpringToken
standardNormal → const SpringToken
standardSlow → const SpringToken