ChipMotion class

Resolved animation values for a chip instance.

Annotations

Constructors

ChipMotion({required Duration duration, required Curve curve, required double pressedScale})
Creates a motion preset.
const
ChipMotion.resolve(BuildContext context, {ChipStyle? style, Duration? duration, Curve? curve, double? pressedScale})
Resolves motion using theme defaults and per-widget overrides.
factory

Properties

curve → Curve
Main transition curve.
final
duration → Duration
Main transition duration.
final
hashCode → int
The hash code for this object.
no setterinherited
pressedScale → double
Scale used while pressed.
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