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

[Question] Can it be use in ListView? #2

Closed
jasonlaw opened this issue Apr 29, 2020 · 1 comment
Closed

[Question] Can it be use in ListView? #2

jasonlaw opened this issue Apr 29, 2020 · 1 comment

Comments

@jasonlaw
Copy link

Hi @hasan-hm1 ,

This is a very cool widget!

Can we use this in a list view?
In my list view, I have ListTile as list item, can I place this menu in the list item?

Thanks in advance.

@hasan-hm1
Copy link
Owner

hasan-hm1 commented Apr 30, 2020

Hi @jasonlaw

Yes, if you want to place it in a ListTile you can :

  1. wrap the CircularMenu with a Container and specify the constraints , then you can place it in title , subTitle , leading or trailling in the ListTile.

or

  1. wrap the CircularMenu with a Container and specify the constraints , then use CircularMenu directly as a list item and assign the ListTile to backgroundWidget in the CircularMenu.

I hope this helped you.

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