Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to implement/use a custom Viewport other than Viewport provided by flutter #28

Open
natintosh opened this issue Oct 2, 2024 · 2 comments

Comments

@natintosh
Copy link

Would be nice if I don't have to constrain the height/width if I'm using either Axis.horizontal or Axis.vertical. Is it possible to have a behaviour like SingleChildScrollView combined with Row?

@manuindersekhon
Copy link
Collaborator

Hi @natintosh, this may be achieved with SliverList instead of SliverFixedExtentList that is currently used in the package code. I've explained about this in more details in this issue (#17 (comment)). Please check it out once if this helps. Thanks.

@natintosh
Copy link
Author

Yes @manuindersekhon I agree using SliverList fixed the issue with Fixed Extent on the main scroll axis and allow dynamic size on the main scroll axis but soon the cross axis we still need to specify a fixed size (height/widget).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants