I updated my flutter and dart package last night and now StaggeredGridView which was scrolling perfectly before is giving me an error:
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'SliverHitTestResult' is not a subtype of type 'BoxHitTestResult'
i had the same problem , and i solved upgrading the version in pubspeck.yaml to flutter_staggered_grid_view 0.3.0
The BoxHitTestResult exception was fixed in new version of flutter_staggered_grid_view 0.3.0
You can check changelog here
If you have same issue after the upgrade,
run flutter clean
in terminal and then run again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With