SfThumbShape class Null safety

Base class for SfSlider, SfRangeSlider and SfRangeSelector thumb shapes.

Constructors

SfThumbShape()
Enables subclasses to provide constant constructors.
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(SfSliderThemeData themeData) Size
Returns the size based on the values passed to it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(PaintingContext context, Offset center, {required RenderBox parentBox, required RenderBox? child, required SfSliderThemeData themeData, SfRangeValues? currentValues, dynamic currentValue, required Paint? paint, required Animation<double> enableAnimation, required TextDirection textDirection, required SfThumb? thumb}) → void
Paints the thumb based on the values passed to it.
toString() String
A string representation of this object. [...]
inherited

Operators

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