scrollToLeft function

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

Scrolls viewport to the left border.

Implementation

void scrollToLeft({bool smooth = true, int? delayMs}) =>
    scrollTo(0, window.scrollY, smooth: smooth, delayMs: delayMs);