FCheckboxStyle class
A FCheckbox's style.
- Mixed-in types
- Implementers
Constructors
- FCheckboxStyle({required FLabelLayoutStyle labelLayoutStyle, required FFocusedOutlineStyle focusedOutlineStyle, required FCheckboxStateStyle enabledStyle, required FCheckboxStateStyle disabledStyle, required FCheckboxErrorStyle errorStyle, Duration animationDuration = const Duration(milliseconds: 100), Curve curve = Curves.linear})
- Creates a FCheckboxStyle.
- FCheckboxStyle.inherit({required FColorScheme colorScheme, required FStyle style})
- Creates a FCheckboxStyle that inherits its properties from the given parameters.
Properties
- animationDuration → Duration
-
The duration of the animation when the checkbox's switches between checked and unchecked. Defaults to 100ms.
final
- curve → Curve
-
The curve of the animation when the checkbox's switches between checked and unchecked.
final
- disabledStyle → FCheckboxStateStyle
-
The FCheckbox's style when it's disabled.
final
- enabledStyle → FCheckboxStateStyle
-
The FCheckbox's style when it's enabled.
final
- errorStyle → FCheckboxErrorStyle
-
The FCheckbox's style when it's in an error state.
final
- focusedOutlineStyle → FFocusedOutlineStyle
-
The focused outline style.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- labelLayoutStyle → FLabelLayoutStyle
-
The FLabel's style.
final
- labelStyle → FLabelStyle
-
The FLabel's style.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Duration? animationDuration, Curve? curve, FLabelLayoutStyle? labelLayoutStyle, FFocusedOutlineStyle? focusedOutlineStyle, FCheckboxStateStyle? enabledStyle, FCheckboxStateStyle? disabledStyle, FCheckboxErrorStyle? errorStyle}) → FCheckboxStyle - Returns a copy of this FCheckboxStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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