FieldStyleChip class
Style configuration for chip-based selection fields.
Provides styling options for chip widgets including colors, borders, text styles, and spacing. Supports both selected and unselected states with customizable visual appearance for each state.
- Inheritance
-
- Object
- FieldStyle
- FieldStyleChip
Constructors
- FieldStyleChip({Color? backgroundColor, Color? selectedColor, double? headerSpacing = 5.0, OutlinedBorder shape = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(8))), BorderSide unselectedSide = const BorderSide(color: Color(0xffbfbbc5), width: 1), BorderSide selectedSide = const BorderSide(color: Color(0xffbfbbc5), width: 1), TextStyle labelStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.black), TextStyle unselectedTextStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.black), TextStyle selectedTextStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.white), EdgeInsets padding = const EdgeInsets.all(8.0), double runSpacing = 8.0, double spacing = 8.0, Color checkmarkColor = Colors.white, MaterialTapTargetSize materialTapTargetSize = MaterialTapTargetSize.shrinkWrap, Color shadowColor = Colors.transparent, Color surfaceTintColor = Colors.transparent})
Properties
- backgroundColor ↔ Color?
-
getter/setter pair
- checkmarkColor ↔ Color
-
getter/setter pair
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerSpacing ↔ double?
-
getter/setter pairinherited
- labelStyle ↔ TextStyle
-
getter/setter pair
- materialTapTargetSize ↔ MaterialTapTargetSize
-
getter/setter pair
- padding ↔ EdgeInsets
-
getter/setter pair
- runSpacing ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor ↔ Color?
-
getter/setter pair
- selectedSide ↔ BorderSide
-
getter/setter pair
- selectedTextStyle ↔ TextStyle
-
getter/setter pair
- shadowColor ↔ Color
-
getter/setter pair
- shape ↔ OutlinedBorder
-
getter/setter pair
- spacing ↔ double
-
getter/setter pair
- surfaceTintColor ↔ Color
-
getter/setter pair
- unselectedSide ↔ BorderSide
-
getter/setter pair
- unselectedTextStyle ↔ TextStyle
-
getter/setter pair
Methods
-
copyWith(
{double? headerSpacing, }) → FieldStyle? -
inherited
-
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