MyoroCheckboxStyle class
Style model of MyoroCheckbox.
- Implementers
- Annotations
-
- @immutable
- @myoroModel
Constructors
- MyoroCheckboxStyle({Color? checkboxActiveColor, Color? checkboxCheckColor, Color? checkboxHoverColor, Color? checkboxFocusColor, double? checkboxSplashRadius, TextStyle? labelTextStyle, int? labelMaxLines, double? spacing})
-
const
- MyoroCheckboxStyle.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 → MyoroCheckboxStyle
-
no setterinherited
- spacing → double?
-
Spacing between the checkbox and the label.
final
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}) → MyoroCheckboxStyle -
inherited
-
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
Static Methods
-
lerp(
MyoroCheckboxStyle? a, MyoroCheckboxStyle? b, double t) → MyoroCheckboxStyle