We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No assertion thrown
DartError: Assertion failed: file:///Users/redacted/fvm/versions/3.24.3/packages/flutter/lib/src/widgets/scroll_controller.dart:220:12 _positions.isNotEmpty "ScrollController not attached to any scroll views." dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw errors.dart:296 dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed errors.dart:29 packages/flutter/src/widgets/scroll_controller.dart 220:23 jumpTo scroll_controller.dart:220 packages/pluto_grid/src/plugin/pluto_lazy_pagination.dart 183:27 pluto_lazy_pagination.dart:183
Before
// pluto_lazy_pagination.dart around line 183 stateManager.scroll.bodyRowsVertical!.jumpTo(0);
After
if (stateManager.scroll.bodyRowsVertical?.hasClients == true) { stateManager.scroll.bodyRowsVertical!.jumpTo(0); }
Flutter version Flutter version is 3.24.3
PlutoGrid version pluto_grid: ^8.0.0
OS mac 14.5
The text was updated successfully, but these errors were encountered:
I have the same issue with the InfinityScrollRows. A similar fix works.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce the bug
Expected results
No assertion thrown
Actual results
DartError: Assertion failed: file:///Users/redacted/fvm/versions/3.24.3/packages/flutter/lib/src/widgets/scroll_controller.dart:220:12
_positions.isNotEmpty
"ScrollController not attached to any scroll views."
dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw
errors.dart:296
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed
errors.dart:29
packages/flutter/src/widgets/scroll_controller.dart 220:23 jumpTo
scroll_controller.dart:220
packages/pluto_grid/src/plugin/pluto_lazy_pagination.dart 183:27
pluto_lazy_pagination.dart:183
Code fix suggestion
Before
After
Execution Environment
Flutter version
Flutter version is 3.24.3
PlutoGrid version
pluto_grid: ^8.0.0
OS
mac 14.5
The text was updated successfully, but these errors were encountered: