You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no Row equivalent for sliver, to lay slivers horizontally.
the closest one is this #33138 which is for vertical columns
this would be useful to use sliver type widgets to like SliverList to get it's lazily rendering items.
Hi @abdulghani would changing the scrollDirection of your CustomScrollView achieve the desired behavior? The scrollDirection defaults to Axis.vertical, but it can be changed to Axis.horizontal to lay out slivers horizontally.
I don't think that what he needs. The scroll would still be vertical. But there would be two SliverList aligned in a row. Kind of a SliverGrid but with different use cases
I don't think that what he needs. The scroll would still be vertical. But there would be two SliverList aligned in a row. Kind of a SliverGrid but with different use cases
@Piinks What if I need two vertical SilverList?
I'm trying to cloning Spotify Podcast view on desktop. This view contain a header, a list builder, and a Right side widget - probably a list too:
Because the episode list require to be a list builder due to a podcast can have thousand episodes, I haven't find a way to achieve the same thing. SliverRow is probably what I need.
@ChauCM there are probably a couple of different ways you could create such a UI, I would recommend asking on stackoverflow or in one of our other community channels: https://flutter.dev/community
@Piinks What if I need two vertical SilverList? I'm trying to cloning Spotify Podcast view on desktop. This view contain a header, a list builder, and a Right side widget - probably a list too:
Because the episode list require to be a list builder due to a podcast can have thousand episodes, I haven't find a way to achieve the same thing. SliverRow is probably what I need.
Hello @Piinks this issue has been open since 2020. I would like to know if the flutter team has already found solutions to this? For the large screens, the solution to this problem would be very useful. Thank you in advance for your answer.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
HansMuller commentedon May 11, 2020
CC @Piinks
Piinks commentedon May 11, 2020
Hi @abdulghani would changing the
scrollDirectionof yourCustomScrollViewachieve the desired behavior? ThescrollDirectiondefaults toAxis.vertical, but it can be changed toAxis.horizontalto lay out slivers horizontally.jamesblasco commentedon Jun 15, 2020
I don't think that what he needs. The scroll would still be vertical. But there would be two SliverList aligned in a row. Kind of a SliverGrid but with different use cases
Piinks commentedon Jun 17, 2020
Oh! Thanks! I think I understand better now, having vertical and horizontal scrollables composed together? I have seen this achieved before in a couple of different ways.
Here are some references on stackoverflow:
https://stackoverflow.com/questions/54512171/horizontal-listview-inside-a-vertical-scrollview-in-flutter
https://stackoverflow.com/questions/50766553/how-to-create-horizontal-and-vertical-scrollable-widgets-in-flutter
Also, regarding the lazily loading items, the ListView is actually a SliverList under the hood. :)
ChauCM commentedon Feb 22, 2022
@Piinks What if I need two vertical SilverList?

I'm trying to cloning Spotify Podcast view on desktop. This view contain a header, a list builder, and a Right side widget - probably a list too:
Because the episode list require to be a list builder due to a podcast can have thousand episodes, I haven't find a way to achieve the same thing. SliverRow is probably what I need.
Piinks commentedon Feb 22, 2022
@ChauCM there are probably a couple of different ways you could create such a UI, I would recommend asking on stackoverflow or in one of our other community channels: https://flutter.dev/community
Also, you may be interested in this package: https://pub.dev/packages/sliver_tools
Tobivaria commentedon Apr 30, 2022
@abdulghani, have you found a solution which works for your issue? I am also looking for a way to fix this.
AbdulGafoorShaik186 commentedon May 15, 2022
6 remaining items
drogbut commentedon Jan 2, 2023
Hello @Piinks this issue has been open since 2020. I would like to know if the flutter team has already found solutions to this? For the large screens, the solution to this problem would be very useful. Thank you in advance for your answer.
HansMuller commentedon Jan 3, 2023
@drogbut - have you looked at #33137 per #56756 (comment) ?
thkim1011 commentedon Jan 3, 2023
I'll be working on this very soon!
thkim1011 commentedon Feb 13, 2023
Hey everyone, I wrote up a design doc for grouping Slivers into a single Sliver. I'd appreciate any opinions people might have!
Sliver Cross Axis Group (#123862)
github-actions commentedon May 13, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.