PaintValueIndicator typedef Null safety

void PaintValueIndicator(
  1. PaintingContext context,
  2. 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.


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