Closed Sokcevic closed 4 months ago
I've looked at the code and I have found the reason why this is happening. In pluto_lazy_pagination.dart in line 182 the Data is fetch and loaded into the table. While doing this there are no Checks if stateManager.scroll.bodyRowsVertical!.hasClients is true. So a simple check would fix the Problem
I am working with PlutoGridPlus 8.3.0 and I have noticed that if I redraw a Parent Widget of a PlutoGrid with LazyPagination, that the LazyPagination class tries to access Widgets which don't exist anymore.
Steps to reproduce the bug
Expected results
No Error is thrown
Actual results
Execution Environment
Flutter version Flutter version is 3.19.0
PlutoGrid version PlutoGrid version is 8.3.0
OS Ubuntu 22.04.4 LTS