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

listViewOfListTile to be scrollable #41

Closed
daniel-v opened this issue Jun 9, 2020 · 1 comment
Closed

listViewOfListTile to be scrollable #41

daniel-v opened this issue Jun 9, 2020 · 1 comment

Comments

@daniel-v
Copy link

daniel-v commented Jun 9, 2020

I have the followin use-case:

I have a dialog that I'd like to use to display some options to the user. The number of list items that I'd like to show is more than what can be displayed on a single screen, therefore some scrolling would be nice inside the dialog.

Can we figure out a way to do that with your built in listViewOfListTile function? Things I'm considering now:

  1. just not use listViewOfListTile but that is so meh... I would need to rewrite much of what you already have written
  2. add an optional argument to the method scrollable. Setting it to true would encapsulate the ListView in a SingleChildScrollView.
  3. maybe add a Widget decoratorWidget argument to the method that would allow encapsulating the entire list in anything, in my case a SingleChildScrollView

And of course, I'm open to any suggestions how one would go about doing that.

@AndroidHensen
Copy link
Contributor

You can use the widget() method to customize the dialog you want, and the listViewOfListTile here is just a Demo

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