RDropdownMenuMotionTokens class final

Motion tokens for dropdown menu open/close.

The goal is to keep motion decisions (durations/curves) out of renderers so:

  • presets can't drift accidentally,
  • motion can be customized per theme/preset,
  • conformance can verify behavior.
Annotations

Constructors

RDropdownMenuMotionTokens({required Duration enterDuration, required Duration exitDuration, required Curve enterCurve, required Curve exitCurve, required double scaleBegin})
const

Properties

enterCurve Curve
Curve for enter animation.
final
enterDuration Duration
Duration for enter animation (opening/open → visible).
final
exitCurve Curve
Curve for exit animation.
final
exitDuration Duration
Duration for exit animation (closing → removed).
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleBegin double
Initial scale value for menu (end is always 1.0).
final

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.
override