ThumbSliderComponentShape class

Inheritance

Constructors

ThumbSliderComponentShape({required double thumbRadius, double min = 0, double max = 10, IconData? thumbIconData})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
max double
final
min double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbIconData IconData?
final
thumbRadius double
final

Methods

getPreferredSize(bool isEnabled, bool isDiscrete) Size
Returns the preferred size of the shape, based on the given conditions.
override
getValue(double value) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(PaintingContext context, Offset center, {Animation<double>? activationAnimation, Animation<double>? enableAnimation, bool? isDiscrete, TextPainter? labelPainter, RenderBox? parentBox, required 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
A string representation of this object.
inherited

Operators

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