FCheckboxStyle class

A checkboxes style.

Inheritance
Available extensions

Constructors

FCheckboxStyle({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, double size = 16, FCheckboxMotion motion = const FCheckboxMotion(), 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

childPadding EdgeInsetsGeometry
no setterinherited
decoration FWidgetStateMap<BoxDecoration>
The box decoration.
final
descriptionPadding EdgeInsetsGeometry
no setterinherited
descriptionTextStyle FWidgetStateMap<TextStyle>
no setterinherited
errorPadding EdgeInsetsGeometry
no setterinherited
errorTextStyle TextStyle
no setterinherited
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
no setterinherited
labelTextStyle FWidgetStateMap<TextStyle>
no setterinherited
motion FCheckboxMotion
The motion-related properties.
final
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

call(Object? _) FCheckboxStyle
Returns itself.
inherited
copyWith({FTappableStyle tappableStyle(FTappableStyle style)?, FFocusedOutlineStyle focusedOutlineStyle(FFocusedOutlineStyle style)?, double? size, FWidgetStateMap<IconThemeData>? iconStyle, FWidgetStateMap<BoxDecoration>? decoration, FCheckboxMotion motion(FCheckboxMotion motion)?, EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FCheckboxStyle

Available on FCheckboxStyle, provided by the $FCheckboxStyleTransformations extension

Returns a copy of this FCheckboxStyle with the given properties replaced.
copyWith({FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FFormFieldStyle

Available on FFormFieldStyle, provided by the $FFormFieldStyleTransformations extension

Returns a copy of this FFormFieldStyle with the given properties replaced.
copyWith({EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FLabelStyle

Available on FLabelStyle, provided by the $FLabelStyleTransformations extension

Returns a copy of this FLabelStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(FCheckboxStyle other, double t) FCheckboxStyle

Available on FCheckboxStyle, provided by the $FCheckboxStyleTransformations extension

Linearly interpolate between this and another FCheckboxStyle using the given factor t.
lerp(FFormFieldStyle other, double t) FFormFieldStyle

Available on FFormFieldStyle, provided by the $FFormFieldStyleTransformations extension

Linearly interpolate between this and another FFormFieldStyle using the given factor t.
lerp(FLabelStyle other, double t) FLabelStyle

Available on FLabelStyle, provided by the $FLabelStyleTransformations extension

Linearly interpolate between this and another FLabelStyle using the given factor t.
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.
inherited