ResponsiveGrid_Flutter icon indicating copy to clipboard operation
ResponsiveGrid_Flutter copied to clipboard

Accept a scrollcontroller as constructor parameter

Open softlore opened this issue 2 years ago • 2 comments

I am using flutter 2.10.4 and currently working on a windows desktop app. I use ResponsiveGridList to build a grid. Whenever I scroll I am getting the following exception:

Another exception was thrown: The provided ScrollController is currently attached to more than on Scrollposition

I got a similar error when nesting SingleChildScrollView inside Column and this stackoverflow post https://stackoverflow.com/a/70772195/4435860 suggested to add ScrollController. Can you please check and update the constructor to accept a optional ScrollController?

softlore avatar May 12 '22 13:05 softlore

@softlore Has this issue been resolved?

linhmanh92 avatar Jun 17 '22 07:06 linhmanh92

@linhmanh92, I have modified the source code and added the modified version as a local dependancy in my project.

softlore avatar Jun 29 '22 05:06 softlore