DisplayEntry class final
A family's display glyph entry: start scale / offset and its spring.
- Annotations
Constructors
- DisplayEntry({DisplayEntryKind kind = DisplayEntryKind.none, double startScale = 1, double startOffset = 0, SpringDescription? spring, Duration? duration})
-
const
Properties
- duration → Duration?
-
Linear duration instead of spring (DisplayEntryKind.segments,
DisplayEntryKind.bleed, DisplayEntryKind.glyph).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind → DisplayEntryKind
-
Entry kind.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spring → SpringDescription?
-
Spring that drives t from 0 to 1 (null: the theme's release spring).
final
- startOffset → double
-
Vertical offset at t = 0 in dp (drop: −6, i.e. above).
final
- startScale → double
-
Scale at t = 0 (pop: 0.85).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offsetAt(
double t) → double -
Vertical offset in dp at progress
t. -
scaleAt(
double t) → double -
Scale at progress
t(may overshoot 1 on a bouncy spring). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- none → const DisplayEntry
- No entry movement.