Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GridView inside PageView flutter

I am new to flutter and in my previous Android app i could make easily any scrollable view inside another with the same direction, working both ways.

I wonder if it's possible in flutter : in this case i have a simple GridView inside a PageView with the same direction (vertical).

I simply want to handle the case where the GridView can't scroll (the top is reached) and let the parent (PageView) handle the gesture.

To precise a bit more, in my Android app i could use simply use the Google class NestedScrollableHost .

See my other answer to this topic in Android.

I would add that the answer to this question could work with any scrollable view inside another with the same direction.

Thanks !

like image 847
Tom3652 Avatar asked May 24 '26 07:05

Tom3652


1 Answers

For now there is an ongoing feature request in the Flutter repo about this.

I added one at the time of my question here, but the first one has more upvotes so if you are watching this answer, please go to the first link and upvote the issue

like image 170
Tom3652 Avatar answered May 27 '26 01:05

Tom3652



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!