scrolls property
List<ViewportOffset>
get
scrolls
The scrolls round the box: as any of them moves, the box is painted again where it is held, though a layer between them is not.
Implementation
List<ViewportOffset> get scrolls => _heard;
set
scrolls
(List<ViewportOffset> value)
Implementation
set scrolls(List<ViewportOffset> value) {
if (listEquals(value, _heard)) return;
if (attached) {
for (final s in _heard) {
s.removeListener(markNeedsPaint);
}
}
_heard = value;
if (attached) {
for (final s in _heard) {
s.addListener(markNeedsPaint);
}
}
markNeedsPaint();
}