Fix scrolling of multiple SliverLists and SliverGrids (#14449)
* Fix scrolling of multiple SliverLists and SliverGrids * Update sliver_fixed_extent_list.dart * Update sliver_grid.dart
This commit is contained in:
@@ -84,9 +84,7 @@ class _ShrineGridLayout extends SliverGridLayout {
|
||||
}
|
||||
|
||||
@override
|
||||
double estimateMaxScrollOffset(int childCount) {
|
||||
if (childCount == null)
|
||||
return null;
|
||||
double computeMaxScrollOffset(int childCount) {
|
||||
if (childCount == 0)
|
||||
return 0.0;
|
||||
final int rowCount = _rowAtIndex(childCount - 1) + 1;
|
||||
|
||||
Reference in New Issue
Block a user