FilterListThemeData class

Defines the configuration of the overall visual FilterListTheme for a particular widget subtree.

Mixed in types

Constructors

FilterListThemeData(BuildContext context, {ChoiceChipThemeData? choiceChipTheme, HeaderThemeData? headerTheme, ControlButtonBarThemeData? controlButtonBarTheme, double? borderRadius, WrapAlignment? wrapAlignment, WrapCrossAlignment? wrapCrossAxisAlignment, double? wrapSpacing, Color? backgroundColor})
Builds a FilterListThemeData with default values, if none are given.
factory
FilterListThemeData.dark(BuildContext context)
factory
FilterListThemeData.light(BuildContext context)
A default light theme.
factory
FilterListThemeData.raw({required ChoiceChipThemeData choiceChipTheme, required HeaderThemeData headerTheme, required ControlButtonBarThemeData controlBarButtonTheme, required double borderRadius, required WrapAlignment wrapAlignment, required WrapCrossAlignment wrapCrossAxisAlignment, required double wrapSpacing, required Color? backgroundColor})
Raw FilterListThemeData initialization.
const

Properties

backgroundColor Color?
Background color of the filter list
final
borderRadius double
Border radius of the filter dialog
final
choiceChipTheme ChoiceChipThemeData
A style that overrides the default appearance of ChoiceChip and ChoiceChip widgets when used with HeaderTheme or with the overall FilterListTheme's FilterListThemeData.choiceChipTheme.
final
controlBarButtonTheme ControlButtonBarThemeData
final
hashCode int
The hash code for this object.
no setterinherited
headerTheme HeaderThemeData
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wrapAlignment WrapAlignment
How the choice chip within a run should be placed in the main axis. For example, if wrapSpacing is WrapAlignment.center, the choice chip in each run are grouped together in the center of their run in the main axis.
final
wrapCrossAxisAlignment WrapCrossAlignment
How the choice chip within a run should be aligned relative to each other in the cross axis. For example, if this is set to WrapCrossAlignment.end, and the direction is Axis.horizontal, then the choice chip within each run will have their bottom edges aligned to the bottom edge of the run.
final
wrapSpacing double
How much space to place between choice chip in a run in the main axis. For example, if wrapSpacing is 10.0, the choice chip will be spaced at least 10.0 logical pixels apart in the main axis. If there is additional free space in a run (e.g., because the wrap has a minimum size that is not filled or because some runs are longer than others), the additional free space will be allocated according to the alignment.
final

Methods

copyWith({Brightness? brightness, ChoiceChipThemeData? choiceChipTheme, HeaderThemeData? headerTheme, ControlButtonBarThemeData? controlBarButtonTheme, double? borderRadius, WrapAlignment? wrapAlignment, WrapCrossAlignment? wrapCrossAxisAlignment, double? wrapSpacing, Color? backgroundColor}) FilterListThemeData
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(FilterListThemeData a, FilterListThemeData b, double t) FilterListThemeData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited