M3EButtonConstants class

Shared numeric constants used throughout the button package.

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

Constants

kAnimationDeltaThreshold → const double
Minimum delta threshold for triggering animation progress update.
kDisabledBackgroundAlpha → const double
Alpha value for disabled background color.
kDisabledForegroundAlpha → const double
Alpha value for disabled foreground color (text/icons).
kDisabledOutlineAlpha → const double
Alpha value for disabled outline/border color.
kFocusRingGap → const double
Gap between the component edge and the focus ring outline (dp).
kFocusRingWidth → const double
Stroke width of the focus ring outline (dp).
kIconOnlyNaturalSizeFallback → const double
Default natural-width fallback for icon-only buttons.
kMaxPressedRadius → const double
Maximum pressed corner radius in dp.
kMinPressedRadius → const double
Minimum pressed corner radius in dp.
kOverflowTriggerScopeIndex → const int
Sentinel index for the overflow trigger button.
kPressedRadiusRatio → const double
Ratio used to calculate pressed corner radius from square radius.
kPressReleaseThreshold → const double
Spring progress threshold at which a pending press-release is committed.
kReleaseTimeout → const Duration
How long to wait for a press-release threshold before forcing a reset.
kScreenEdgePadding → const double
Minimum distance between any popup / dropdown and the screen edge (dp).