flutter-expandable icon indicating copy to clipboard operation
flutter-expandable copied to clipboard

Open one expandable at a time

Open GideonWislang opened this issue 5 years ago • 8 comments

Looked through the code doesn't look like there is an option to when expanding collapse other expanded panels. Is this something you would be keen on adding in the future?

GideonWislang avatar Apr 24 '19 06:04 GideonWislang

Thank you for the suggestion. I will consider it and will post an update here.

aryzhov avatar Apr 24 '19 17:04 aryzhov

This would be a useful feature.

itsMarcoSolis avatar Jul 07 '19 22:07 itsMarcoSolis

i would love to see this one too

taufiqridha avatar Sep 06 '19 15:09 taufiqridha

@aryzhov this is actually simple to implement and I can post what I did here... but could you please add some delay to the scroll into view

I thought It would be simple but I can't figure it out

this is necessary so that I can close all other tabs... and THEN scroll to position of object so 1. I tap thing to open something else 2. I use the listener to detect that and close everything else that is open 3. scroll to position of the object I just opened

what I cant figure out is how to do #3

please help! and thanks beforehand :)

b-cancel avatar Oct 08 '19 06:10 b-cancel

Anyone can find solution.I have no idea how do?Please help

heinzan avatar Apr 19 '21 17:04 heinzan

use gesture detector on header onTap:(){ for(int i=0; i<expandableControllers.length;i++){ if(!expandableControllers.expanded){ if(i != index){ expandableControllers[i].toggle(); } } } }

mohitdawrani avatar Jun 29 '21 12:06 mohitdawrani

The interset for this feature is still alive!

mem3Dealer avatar Jan 21 '22 10:01 mem3Dealer

any update on this?

leah-n1 avatar Feb 29 '24 17:02 leah-n1