getHorizontalShift method Null safety
Determines the best offset to keep this shape on the screen.
Override this method when the center of the value indicator should be shifted from the vertical center of the thumb.
Implementation
double getHorizontalShift({
RenderBox? parentBox,
Offset? center,
TextPainter? labelPainter,
Animation<double>? activationAnimation,
double? textScaleFactor,
Size? sizeWithOverflow,
}) {
return 0;
}