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

isExpanded #87

Open
darshan-cn-5 opened this issue Aug 14, 2024 · 1 comment
Open

isExpanded #87

darshan-cn-5 opened this issue Aug 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@darshan-cn-5
Copy link

it would have been very helpfull if we get any variable somethjing like isExpanded to keep it open when we need it to initially open like how normal dropdown works

@AbdullahChauhan
Copy link
Owner

Hey @darshan-cn-5
For this purpose, you can pass the OverlayPortalController to dropdown and use the method overlayController.show(). If you want to open the dropdown on your screen widget initialization, you have to use the WidgetsBinding.instance.addPostFrameCallback and call the .show() method inside otherwise you'll get rendering issues.
But yeah, good suggestion. I'll add the isExpanded property in the future release!

@AbdullahChauhan AbdullahChauhan added the enhancement New feature or request label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants