scrollToRight function

void scrollToRight({
  1. bool smooth = true,
  2. int? delayMs,
})

Scrolls viewport to the right border.

Implementation

void scrollToRight({bool smooth = true, int? delayMs}) =>
    scrollTo(document.body!.scrollWidth, window.scrollY,
        smooth: smooth, delayMs: delayMs);