chore: update scrollable positioned list
This commit is contained in:
+1
@@ -328,6 +328,7 @@ class _PositionedListState extends State<PositionedList> {
|
||||
final key = element.widget.key as IndexedKey;
|
||||
if (widget.scrollDirection == Axis.vertical) {
|
||||
final reveal = viewport!.getOffsetToReveal(box, 0).offset;
|
||||
if (!reveal.isFinite) continue;
|
||||
final itemOffset = reveal -
|
||||
viewport.offset.pixels +
|
||||
viewport.anchor * viewport.size.height;
|
||||
|
||||
Reference in New Issue
Block a user