KeyFaceMotionDetail class abstract interface

Extra channels a KeyFaceMotion may also provide (the calculator's KeyPressMotion does). Renderers must still work without them (test fakes, previews): check with motion is KeyFaceMotionDetail.

Implemented types
Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
holdFill → double
Long-press fill progress, 0–1 (0 until the fill should show).
no setterinherited
hover → Animation<double>
Hover state layer, 0–1.
no setterinherited
listenable → Listenable
Every channel, for a painter's repaint.
no setterinherited
press → Animation<double>
Press depth: 0 at rest, 1 fully pressed (springs may overshoot).
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → Animation<double>
The press depth of the key's scale (its press transform): the same as press on the way in; on release it follows the theme's release spring while press follows releaseAlt. Liquid Glass's jelly reads both: X on this channel, Y on press.
no setter
tint → Animation<double>
Pressed state layer, 0–1.
no setterinherited
touchFraction → Offset?
Where the current (or last) touch went down, as a fraction of the key's box (0–1 on both axes; may fall slightly outside for the hit slop); null for presses without a touch point (physical keys, screen readers).
no setter

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