SfTrackShape class

Base class for SfSlider, SfRangeSlider and SfRangeSelector track shapes.

Constructors

SfTrackShape()
Enables subclasses to provide constant constructors.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

getPreferredRect(RenderBox parentBox, SfSliderThemeData themeData, Offset offset, {bool? isActive}) Rect
Returns the size based on the values passed to it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(PaintingContext context, Offset offset, Offset? thumbCenter, Offset? startThumbCenter, Offset? endThumbCenter, {required RenderBox parentBox, required SfSliderThemeData themeData, SfRangeValues? currentValues, dynamic currentValue, required Animation<double> enableAnimation, required Paint? inactivePaint, required Paint? activePaint, required TextDirection textDirection}) → void
Paints the track 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