ChipConstants class

Defines animation and sizing constants used across all Chip widgets. Centralizing these values ensures consistency and easy theming.

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

avatarSize → const double
Default avatar size within chips.
avatarTextSpacing → const double
Default spacing between avatar and text.
colorAnimationDuration → const Duration
Default duration for color transitions.
defaultColorCurve → const Curve
Default curve for color animations.
defaultScaleCurve → const Curve
Default curve for scale animations.
deleteIconSize → const double
Default delete icon size within chips.
hoveredScale → const double
Scale factor when chip is hovered (web).
iconSize → const double
Default icon size within chips.
iconTextSpacing → const double
Default spacing between icon and text.
maxChipWidth → const double
Maximum chip width.
minChipWidth → const double
Minimum chip width.
opacityAnimationDuration → const Duration
Default duration for opacity animations.
pressedScale → const double
Scale factor when chip is pressed.
scaleAnimationDuration → const Duration
Default duration for scale animations.
textTrailingSpacing → const double
Default spacing between text and trailing icon.