scrollToLeft function

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

Scrolls viewport to the left border.

Implementation

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