PaintValueIndicator typedef Null safety

PaintValueIndicator = void Function(PaintingContext context, Offset offset)

Slider uses this callback to paint the value indicator on the overlay.

Since the value indicator is painted on the Overlay; this method paints the value indicator in a RenderBox that appears in the Overlay.

Implementation

typedef PaintValueIndicator = void Function(PaintingContext context, Offset offset);