hasHorizontalOverflow property
bool
get
hasHorizontalOverflow
Whether the document root is horizontally wider than its viewport box.
Implementation
bool get hasHorizontalOverflow => scrollWidth > clientWidth;