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

Added a way to disable implicit node toggling #1

Merged
merged 2 commits into from
Sep 1, 2020
Merged

Added a way to disable implicit node toggling #1

merged 2 commits into from
Sep 1, 2020

Conversation

baumths
Copy link
Contributor

@baumths baumths commented Aug 13, 2020

I have added the toggleNodeOnTap property to the ListTreeView class to make it possible to toggle the node from a button press instead of clicking the node itself. I need this feature because in my application, clicking a node will trigger the Navigator to switch pages. To expand or collapse nodes I'm using an IconButton that calls TreeViewController.expandOrCollapse from the node widget (ListTile in my case).

@sooxie
Copy link
Owner

sooxie commented Sep 1, 2020

I'm sorry to have just seen your message. You have a good idea. You can change this to suit your needs. This project is not perfect for the time being. I will gradually improve its function. Thank you for your submission. I wish you good luck

@sooxie sooxie merged commit 775f759 into sooxie:master Sep 1, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants