MyoroCheckboxThemeExtension class
- Inheritance
-
- Object
- ThemeExtension<
MyoroCheckboxThemeExtension> - MyoroCheckboxThemeExtension
- Annotations
-
- @immutable
- @myoroThemeExtension
Constructors
- MyoroCheckboxThemeExtension.new({Color? checkboxActiveColor, Color? checkboxCheckColor, Color? checkboxHoverColor, Color? checkboxFocusColor, double? checkboxSplashRadius, TextStyle? labelTextStyle, int? labelMaxLines, double? spacing})
-
const
- MyoroCheckboxThemeExtension.builder(ColorScheme colorScheme, TextTheme textTheme)
- MyoroCheckboxThemeExtension.fake()
Properties
- checkboxActiveColor → Color?
-
Background color of the checkbox when selected.
final
- checkboxCheckColor → Color?
-
Color of the checkmark.
final
- checkboxFocusColor → Color?
-
Focus color of the Checkbox.
final
- checkboxHoverColor → Color?
-
Hover color of the Checkbox.
final
- checkboxSplashRadius → double?
-
Splash radius when the Checkbox is hovered.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelMaxLines → int?
-
Text.maxLines of the label.
final
- labelTextStyle → TextStyle?
-
Text style of the label.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroCheckboxThemeExtension
-
no setterinherited
- spacing → double?
-
Spacing between the checkbox and the label.
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{Color? checkboxActiveColor, bool checkboxActiveColorProvided = true, Color? checkboxCheckColor, bool checkboxCheckColorProvided = true, Color? checkboxHoverColor, bool checkboxHoverColorProvided = true, Color? checkboxFocusColor, bool checkboxFocusColorProvided = true, double? checkboxSplashRadius, bool checkboxSplashRadiusProvided = true, TextStyle? labelTextStyle, bool labelTextStyleProvided = true, int? labelMaxLines, bool labelMaxLinesProvided = true, double? spacing, bool spacingProvided = true}) → MyoroCheckboxThemeExtension -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
inherited
-
lerp(
covariant ThemeExtension< MyoroCheckboxThemeExtension> ? other, double t) → MyoroCheckboxThemeExtension -
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited