VelocityChipStyle class

Constructors

VelocityChipStyle({Color backgroundColor = VelocityColors.primary, Color foregroundColor = VelocityColors.white, Color disabledBackgroundColor = VelocityColors.gray200, Color disabledForegroundColor = VelocityColors.gray400, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)), Border? border, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6), TextStyle labelStyle = const TextStyle(fontSize: 13, fontWeight: FontWeight.w500), double iconSize = 16, double spacing = 6})
const
VelocityChipStyle.fromType(dynamic type, {bool selected = false})
factory

Properties

backgroundColor → Color
final
border → Border?
final
borderRadius → BorderRadius
final
disabledBackgroundColor → Color
final
disabledForegroundColor → Color
final
foregroundColor → Color
final
hashCode → int
The hash code for this object.
no setterinherited
iconSize → double
final
labelStyle → TextStyle
final
padding → EdgeInsets
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spacing → double
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.
inherited