pub fn draw_scrollbars<C: PixelColor>(
renderer: &mut dyn Renderer<C>,
theme: &Theme<'_, C>,
state: ScrollState,
mode: ScrollbarMode,
dir: ScrollDirection,
viewport: Rectangle,
content: Size,
) -> Result<(), RenderError>Expand description
Draw scrollbar tracks/thumbs after the children have been clipped+drawn.
Honors all four ScrollbarModes and both axes per dir. Track color is
theme.background.divider, thumb is theme.accent.base.