letsar / flutter_staggered_grid_view

A Flutter staggered grid view
MIT License
3.12k stars 508 forks source link

Can't use `StaggeredGrid.custom` since `StaggeredGridDelegate` is not accessible through library `flutter_staggered_grid_view`. #344

Open marcos-toranzo opened 4 months ago

marcos-toranzo commented 4 months ago

I tried to use a custom delegate for StaggeredGrid but I found that I can not access the abstract class StaggeredGridDelegate. It is defined in /src/rendering/staggered_grid.dart but that file is not exported in flutter_staggered_grid_view.dart file. Filesrc/rendering/sliver_simple_grid_delegate.dart is exported though.

Is there something I'm missing?

Thank you.