You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lets say you have multiple to do lists.
Is there a way to make to DragAndDropListExpanion collapse as soon as a certain event occurs?
(e.g. all to do's of the list are checked).
Unfortunately the list doesn't rebuild once the 'initiallyExpanded' variable changes from the outside.
Suggestions are highly appreciated. Thanks
The text was updated successfully, but these errors were encountered:
@cougardev after doing some thinking I see a way to achieve this.
What you have to do is keep a local reference in memory List sectionTiles = [];
Preferably in the State object of the widget and then you can call .expand .collapse on items.
In my implementation when I get a call to build according to state change or framework reason, I first check if I have the DragAndDropListExpansion object in the list, based on the key I assign to it in creation time.
@philip-brink
there is a bug though in the library and that is related to just an exclamation mark ! that should not be there in the .collapse() function. since this is a very small fix, do you by any chance think you can solve and merge this quickly?
Lets say you have multiple to do lists.
Is there a way to make to DragAndDropListExpanion collapse as soon as a certain event occurs?
(e.g. all to do's of the list are checked).
Unfortunately the list doesn't rebuild once the 'initiallyExpanded' variable changes from the outside.
Suggestions are highly appreciated. Thanks
The text was updated successfully, but these errors were encountered: