replaced null check with hasContentDimensions (#69164)
This commit is contained in:
committed by
GitHub
parent
135aab9cf5
commit
e5c4c4b27a
@@ -802,7 +802,7 @@ class _NestedScrollCoordinator implements ScrollActivityDelegate, ScrollHoldCont
|
||||
|
||||
bool get hasScrolledBody {
|
||||
for (final _NestedScrollPosition position in _innerPositions) {
|
||||
assert(position.minScrollExtent != null && position.hasPixels);
|
||||
assert(position.hasContentDimensions && position.hasPixels);
|
||||
if (position.pixels > position.minScrollExtent) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user