Unverified Commit e5c4c4b2 authored by Sarbagya Dhaubanjar's avatar Sarbagya Dhaubanjar Committed by GitHub

replaced null check with `hasContentDimensions` (#69164)

parent 135aab9c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment