FCheckboxStyle class

A checkboxes style.

Inheritance
Implemented types
Available extensions

Constructors

FCheckboxStyle.new({required FTappableStyle tappableStyle, required FFocusedOutlineStyle focusedOutlineStyle, required FWidgetStateMap<IconThemeData> iconStyle, required FWidgetStateMap<BoxDecoration> decoration, required FWidgetStateMap<TextStyle> labelTextStyle, required FWidgetStateMap<TextStyle> descriptionTextStyle, required TextStyle errorTextStyle, Duration animationDuration = const Duration(milliseconds: 100), Curve curve = Curves.linear, double size = 16, EdgeInsetsGeometry labelPadding = EdgeInsets.zero, EdgeInsetsGeometry descriptionPadding = EdgeInsets.zero, EdgeInsetsGeometry errorPadding = EdgeInsets.zero, EdgeInsetsGeometry childPadding = EdgeInsets.zero})
Creates a FCheckboxStyle.
const
FCheckboxStyle.inherit({required FColors colors, required FStyle style})
Creates a FCheckboxStyle that inherits its properties.
factory

Properties

animationDuration Duration
The duration of the animation when the checkbox switches between checked and unchecked. Defaults to 100ms.
final
childPadding EdgeInsetsGeometry
The child's padding.
finalinherited
curve Curve
The curve of the animation when the checkbox switches between checked and unchecked.
final
decoration FWidgetStateMap<BoxDecoration>
The box decoration.
final
descriptionPadding EdgeInsetsGeometry
The description's padding.
finalinherited
descriptionTextStyle FWidgetStateMap<TextStyle>
The description's text style.
finalinherited
errorPadding EdgeInsetsGeometry
The error's padding.
finalinherited
errorTextStyle TextStyle
The error's text style.
finalinherited
focusedOutlineStyle FFocusedOutlineStyle
The focused outline style.
final
hashCode int
The hash code for this object.
no setterinherited
iconStyle FWidgetStateMap<IconThemeData>
The icon style.
final
labelPadding EdgeInsetsGeometry
The label's padding.
finalinherited
labelTextStyle FWidgetStateMap<TextStyle>
The label's text style.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
The checkboxes size. Defaults to 16.
final
tappableStyle FTappableStyle
The tappable style.
final

Methods

copyWith({Duration? animationDuration, Curve? curve, FTappableStyle? tappableStyle, FFocusedOutlineStyle? focusedOutlineStyle, double? size, FWidgetStateMap<IconThemeData>? iconStyle, FWidgetStateMap<BoxDecoration>? decoration, EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) 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