IndicatorRangeSliderThumbShape<T> class

Custom thumb shape for the range slider with value indicators.

Displays the start and end values above the slider thumbs.

Inheritance

Constructors

IndicatorRangeSliderThumbShape(T start, T end)

Properties

end ↔ T
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labelTextPainter TextPainter
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start ↔ T
getter/setter pair

Methods

getPreferredSize(bool isEnabled, bool isDiscrete) 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? isEnabled, bool? isOnTop, TextDirection? textDirection, required SliderThemeData sliderTheme, Thumb? thumb, bool? isPressed}) → void
Paints the thumb 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