HMChipTheme class
- Inheritance
-
- Object
- ThemeExtension<
HMChipTheme> - HMChipTheme
Constructors
- HMChipTheme.new({Color? backgroundColor, HMRadius? radius, Color? selectedColor, Color? textColor, bool? isFilled, BorderSide? borderSide})
Properties
- backgroundColor → Color?
-
final
- borderSide → BorderSide?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFilled → bool?
-
final
- radius → HMRadius?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
final
- textColor → Color?
-
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{Color? backgroundColor, Color? selectedColor, Color? textColor, HMRadius? radius, bool? isFilled, BorderSide? borderSide}) → HMChipTheme -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< HMChipTheme> ? other, double t) → HMChipTheme -
Linearly interpolate with another ThemeExtension object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited