ChipStyle class

Style configuration for chip appearance.

Constructors

ChipStyle({Color? backgroundColor, Color? activeBackgroundColor, Color? borderColor, Color? activeBorderColor, Color? textColor, Color? activeTextColor, Color? iconColor, Color? activeIconColor, BorderRadius? borderRadius, EdgeInsetsGeometry? padding, TextStyle? textStyle, IconData? icon, double? iconSize})
const
ChipStyle.styled({required Color color, ChipSize size = ChipSize.medium})
Creates a chip style with color and size combined.
factory
ChipStyle.withColor(Color primaryColor)
Creates a chip style with the given primary color.
factory

Properties

activeBackgroundColor Color?
final
activeBorderColor Color?
final
activeIconColor Color?
final
activeTextColor Color?
final
backgroundColor Color?
final
borderColor Color?
final
borderRadius BorderRadius?
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
final
iconColor Color?
final
iconSize double?
final
padding EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color?
final
textStyle TextStyle?
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