PaddleRangeSliderValueIndicatorShape class
A variant shape of a RangeSlider's value indicators. The value indicator is in the shape of an upside-down pear.
See also:
- RangeSlider, which includes value indicators defined by this shape.
- SliderTheme, which can be used to configure the range slider value indicator of all sliders in a widget subtree.
- Inheritance
-
- Object
- RangeSliderValueIndicatorShape
- PaddleRangeSliderValueIndicatorShape
Constructors
- PaddleRangeSliderValueIndicatorShape()
-
Create a slider value indicator in the shape of an upside-down pear.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getHorizontalShift(
{RenderBox? parentBox, Offset? center, TextPainter? labelPainter, Animation< double> ? activationAnimation, double? textScaleFactor, Size? sizeWithOverflow}) → double -
Determines the best offset to keep this shape on the screen.
override
-
getPreferredSize(
bool isEnabled, bool isDiscrete, {required TextPainter labelPainter, required double textScaleFactor}) → Size -
Returns the preferred size of the shape, based on the given conditions.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
PaintingContext context, Offset center, {required Animation< double> activationAnimation, required Animation<double> enableAnimation, bool? isDiscrete, bool isOnTop = false, required TextPainter labelPainter, required RenderBox parentBox, required SliderThemeData sliderTheme, TextDirection? textDirection, Thumb? thumb, double? value, double? textScaleFactor, Size? sizeWithOverflow}) → void -
Paints the value indicator shape based on the state passed to it.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited