FCheckboxStyle class

A FCheckbox's style.

Implemented types
Mixed-in types
Implementers
Available extensions

Constructors

FCheckboxStyle.new({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 setterinherited
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.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
transform(T function(T)) → T

Available on T, provided by the FTransformables extension

Transform this T using the given function.

Operators

operator ==(Object other) bool
The equality operator.
inherited