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

MaterialColorPicker not working in Dialog #28

Open
ckaotik opened this issue Aug 13, 2021 · 1 comment
Open

MaterialColorPicker not working in Dialog #28

ckaotik opened this issue Aug 13, 2021 · 1 comment

Comments

@ckaotik
Copy link

ckaotik commented Aug 13, 2021

When trying to place this color picker widget inside of an AlertDialog or SimpleDialog, an exception is raised.

However, be aware that since AlertDialog tries to size itself using the intrinsic dimensions of its children, widgets such as ListView, GridView, and CustomScrollView, which use lazy viewports, will not work.
-- Flutter docs

Would be great if there was support for this.

@ekuleshov
Copy link

It worked for me in showDialog(builder: (context) => AlertDialog(..)..., but not in showCupertinoDialog(builder: (context) => CupertinoAlertDialog(..)...

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