RectangularSliderValueIndicatorShape class

The default shape of a Slider's value indicator.

![A slider widget, consisting of 5 divisions and showing the rectangular slider value indicator shape.] (https://flutter.github.io/assets-for-api-docs/assets/material/rectangular_slider_value_indicator_shape.png)

See also:

  • Slider, which includes a value indicator defined by this shape.
  • SliderTheme, which can be used to configure the slider value indicator of all sliders in a widget subtree.
Inheritance

Constructors

RectangularSliderValueIndicatorShape()
Create a slider value indicator that resembles a rectangular tooltip.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getPreferredSize(bool isEnabled, bool isDiscrete, {TextPainter labelPainter, double textScaleFactor}) Size
Returns the preferred size of the shape, based on the given conditions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(PaintingContext context, Offset center, {Animation<double> activationAnimation, Animation<double> enableAnimation, bool isDiscrete, TextPainter labelPainter, RenderBox parentBox, SliderThemeData sliderTheme, TextDirection textDirection, double value, double textScaleFactor, Size sizeWithOverflow}) → void
Paints the shape, taking into account the state passed to it. [...]
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited