Skip to main content

PaintValueIndicator

Type Alias PaintValueIndicator 

Source
pub type PaintValueIndicator = Rc<dyn Fn(&mut App, &mut PaintingContext, Offset)>;
Expand description

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.

Aliased Typeยง

pub struct PaintValueIndicator { /* private fields */ }