FSliderStyle class

A slider's style.

Inheritance
Available extensions

Constructors

FSliderStyle({required FWidgetStateMap<Color> activeColor, required FWidgetStateMap<Color> inactiveColor, required FSliderThumbStyle thumbStyle, required FSliderMarkStyle markStyle, required FTooltipStyle tooltipStyle, required FWidgetStateMap<TextStyle> labelTextStyle, required FWidgetStateMap<TextStyle> descriptionTextStyle, required TextStyle errorTextStyle, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(4)), double crossAxisExtent = 8, double? thumbSize, FTooltipMotion tooltipMotion = const FTooltipMotion(), AlignmentGeometry tooltipTipAnchor = Alignment.bottomCenter, AlignmentGeometry tooltipThumbAnchor = Alignment.topCenter, EdgeInsetsGeometry labelPadding = const EdgeInsets.only(bottom: 5), EdgeInsetsGeometry descriptionPadding = EdgeInsets.zero, EdgeInsetsGeometry errorPadding = const EdgeInsets.only(top: 5), EdgeInsetsGeometry childPadding = EdgeInsets.zero})
Creates a FSliderStyle.
FSliderStyle.inherit({required FColors colors, required FTypography typography, required FStyle style, required AlignmentGeometry labelAnchor, required double labelOffset, required EdgeInsetsGeometry descriptionPadding, required EdgeInsetsGeometry childPadding, AlignmentGeometry tooltipTipAnchor = Alignment.bottomCenter, AlignmentGeometry tooltipThumbAnchor = Alignment.topCenter})
Creates a FSliderStyle that inherits its properties.

Properties

activeColor FWidgetStateMap<Color>
The slider's active track colors.
final
borderRadius BorderRadius
The slider's border radius.
final
childPadding EdgeInsetsGeometry
no setterinherited
crossAxisExtent double
The slider's cross-axis extent. Defaults to 8.
final
descriptionPadding EdgeInsetsGeometry
no setterinherited
descriptionTextStyle FWidgetStateMap<TextStyle>
no setterinherited
errorPadding EdgeInsetsGeometry
no setterinherited
errorTextStyle TextStyle
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inactiveColor FWidgetStateMap<Color>
The slider's inactive track colors.
final
labelPadding EdgeInsetsGeometry
no setterinherited
labelTextStyle FWidgetStateMap<TextStyle>
no setterinherited
markStyle FSliderMarkStyle
The slider marks' style.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbSize double
The thumb's size. Defaults to 25 on touch platforms and 20 on non-touch platforms.
final
thumbStyle FSliderThumbStyle
The slider thumb's style.
final
tooltipMotion FTooltipMotion
The tooltip's motion-related properties.
final
tooltipStyle FTooltipStyle
The tooltip's style.
final
tooltipThumbAnchor AlignmentGeometry
The anchor of the thumb to which the tooltipTipAnchor is aligned.
final
tooltipTipAnchor AlignmentGeometry
The anchor of the tooltip to which the tooltipThumbAnchor is aligned.
final

Methods

call(Object? _) FSliderStyle
Returns itself.
inherited
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.
copyWith({FWidgetStateMap<Color>? activeColor, FWidgetStateMap<Color>? inactiveColor, BorderRadius? borderRadius, double? crossAxisExtent, double? thumbSize, FSliderThumbStyle thumbStyle(FSliderThumbStyle style)?, FSliderMarkStyle markStyle(FSliderMarkStyle style)?, FTooltipStyle tooltipStyle(FTooltipStyle style)?, FTooltipMotion tooltipMotion(FTooltipMotion motion)?, AlignmentGeometry? tooltipTipAnchor, AlignmentGeometry? tooltipThumbAnchor, EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FSliderStyle

Available on FSliderStyle, provided by the $FSliderStyleTransformations extension

Returns a copy of this FSliderStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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.
lerp(FSliderStyle other, double t) FSliderStyle

Available on FSliderStyle, provided by the $FSliderStyleTransformations extension

Linearly interpolate between this and another FSliderStyle 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