SelectWrapViewTheme class
Theme configuration for the wrap view.
- Mixed-in types
- Annotations
Constructors
- SelectWrapViewTheme({Color? backgroundColor, EdgeInsetsGeometry? padding, SelectChipVariant? variant, Color? chipColor, Color? selectedChipColor, TextStyle? labelStyle, TextStyle? selectedLabelStyle})
-
const
Properties
- backgroundColor → Color?
-
Overrides the default value of the background color.
final
- chipColor → Color?
-
Overrides the default value of the chip color.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- labelStyle → TextStyle?
-
Overrides the default value of the label style.
final
- padding → EdgeInsetsGeometry?
-
Overrides the default value of the padding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedChipColor → Color?
-
Overrides the default value of the selected chip color.
final
- selectedLabelStyle → TextStyle?
-
Overrides the default value of the selected label style.
final
- variant → SelectChipVariant?
-
Overrides the default value of the variant.
final
Methods
-
copyWith(
{Color? backgroundColor, EdgeInsetsGeometry? padding, SelectChipVariant? variant, Color? chipColor, Color? selectedChipColor, TextStyle? labelStyle, TextStyle? selectedLabelStyle}) → SelectWrapViewTheme - Returns a copy of this theme with the given fields replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
merge(
SelectWrapViewTheme? other) → SelectWrapViewTheme -
Returns a new theme where non-null fields from
otheroverride the corresponding fields of this theme. -
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.
override
Static Methods
-
lerp(
SelectWrapViewTheme? a, SelectWrapViewTheme? b, double t) → SelectWrapViewTheme - Linearly interpolates between two wrap view themes.
-
of(
BuildContext context) → SelectWrapViewTheme -
The theme applying to the wrap view under
context.