SBBChipThemeData class
The ThemeData for the SBBChip.
Use this to set the SBBChipStyle for all SBBChip within the current SBBTheme.
To access this in your application, use Theme.of(context).sbbChipTheme.
- Inheritance
-
- Object
- ThemeExtension<
SBBChipThemeData> - SBBChipThemeData
- Mixed-in types
- Available extensions
- Annotations
Constructors
- SBBChipThemeData({SBBChipStyle? style})
-
Creates an SBBChipThemeData.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → SBBChipStyle?
-
Overrides for the chip's default style.
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{SBBChipStyle? style}) → SBBChipThemeData -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
covariant SBBChipThemeData? other, double t) → SBBChipThemeData -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
SBBChipThemeData? other) → SBBChipThemeData -
Available on SBBChipThemeData, provided by the SBBChipThemeDataX extension
-
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