scrollLength property

  1. @override
int get scrollLength
inherited

The total scrollable length.

Calling this may cause reflow, and should be done only in a batched domRead block or DomService's layout check.

Implementation

@override
int get scrollLength => max(0, 1 + scrollHeight - clientHeight);