HMRadioTheme class
- Inheritance
-
- Object
- ThemeExtension<
HMRadioTheme> - HMRadioTheme
Constructors
- HMRadioTheme.new({HMRadioSize? size, Border? border, HMRadius? boxRadius, bool? isLeft, Color? radioColor, Color? separatorLineColor, double? separatorLineHeight, Color? textColor})
Properties
- border → Border?
-
final
- boxRadius → HMRadius?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLeft → bool?
-
The position of the icon on the line
"true"
to put the icon before the title and"false"
to put the icon to end.final - radioColor → Color?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separatorLineColor → Color?
-
final
- separatorLineHeight → double?
-
final
- size → HMRadioSize?
-
final
- textColor → Color?
-
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{HMRadioSize? size, Color? radioColor, Color? textColor, Color? separatorLineColor, double? separatorLineHeight, bool? isLeft, HMRadius? boxRadius, Border? border}) → HMRadioTheme -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< HMRadioTheme> ? other, double t) → HMRadioTheme -
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