CascadeChipTheme class

Defines the visual styling for the CascadeFilterChips widget.

Use this class to customize colors, fonts, shapes, and spacing of the chips. If a property is not provided, the widget will fall back to its default value, typically derived from the app's overall ThemeData.

Annotations

Constructors

CascadeChipTheme({Color? primaryPathBackgroundColor, Color? primaryPathForegroundColor, Color? secondaryPathBackgroundColor, Color? secondaryPathForegroundColor, Color? optionChipBackgroundColor, Color? optionChipBorderColor, double? fontSize, Color? clearChipBackgroundColor, Color? clearChipForegroundColor, Color? clearChipBorderColor, BorderRadius? chipBorderRadius, EdgeInsets? chipPadding, double? chipSpacing})
Creates a theme for styling cascade chips.
const

Properties

chipBorderRadius BorderRadius?
The border radius for the chips.
final
chipPadding EdgeInsets?
The padding inside the chips, around the label.
final
chipSpacing double?
The horizontal spacing between chips.
final
clearChipBackgroundColor Color?
The background color for the 'clear all' chip. The background color for the 'clear all' chip.
final
clearChipBorderColor Color?
The border color for the 'clear all' chip.
final
clearChipForegroundColor Color?
The color of the icon on the 'clear all' chip. The color of the icon on the 'clear all' chip.
final
fontSize double?
The font size for all chip labels. The font size for all chip labels.
final
hashCode int
The hash code for this object.
no setterinherited
optionChipBackgroundColor Color?
The background color for the unselected option chips. The background color for the unselected option chips.
final
optionChipBorderColor Color?
The border color for the unselected option chips. The border color for the unselected option chips.
final
primaryPathBackgroundColor Color?
The background color for the primary path chip (the first selected item).
final
primaryPathForegroundColor Color?
The text color for the primary path chip.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryPathBackgroundColor Color?
The background color for subsequent path chips.
final
secondaryPathForegroundColor Color?
The text color for subsequent path chips.
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