paint method
void
paint(
- PaintingContext context,
- Offset thumbCenter,
- Offset offset,
- TextPainter textPainter, {
- required RenderBox parentBox,
- required SfSliderThemeData sliderThemeData,
- required Paint paint,
- required Animation<
double> animation, - required Rect trackRect,
override
Draws the tooltip based on the values passed in the arguments.
Implementation
@override
void paint(PaintingContext context, Offset thumbCenter, Offset offset,
TextPainter textPainter,
{required RenderBox parentBox,
required SfSliderThemeData sliderThemeData,
required Paint paint,
required Animation<double> animation,
required Rect trackRect}) {
_drawPaddleTooltip(
parentBox,
textPainter,
minPaddleTopCircleRadius,
neckDifference,
sliderThemeData,
defaultThumbRadius,
minBottomNeckRadius,
textPadding,
offset,
moveNeckValue,
thumbCenter,
trackRect,
context,
animation,
paint);
}