PaddleSliderValueIndicatorShape class

This is the default shape to a Slider's value indicator if no other shape is specified.

See also:

  • Slider for the component that this is meant to display this shape.
  • SliderThemeData where an instance of this class is set to inform the slider of the shape of the its value indicator.
Inheritance

Constructors

PaddleSliderValueIndicatorShape()
Create a slider value indicator in the shape of an upside-down pear.
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) Size
Returns the preferred size of the shape, based on the given conditions.
paint(PaintingContext context, Offset thumbCenter, { Animation<double> activationAnimation, Animation<double> enableAnimation, bool isDiscrete, TextPainter labelPainter, RenderBox parentBox, SliderThemeData sliderTheme, TextDirection textDirection, double value }) → void
Paints the shape, taking into account the state passed to it. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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