curved_navigation_bar icon indicating copy to clipboard operation
curved_navigation_bar copied to clipboard

can i pause animation at a specific index

Open Mohammad-kanaan-alsharbaje opened this issue 2 years ago • 2 comments

can i pause animation at a specific index ? how can i do that without any issue i tried to do it but there is a lot of issues لقطة الشاشة 2022-04-13 060738

I'm also interested

tavyDesign avatar Aug 18 '23 10:08 tavyDesign

you can pause or resume animation when current index = 1 for example

animationDuration: currentIndex== 1 ? const Duration(milliseconds: 1) : const Duration(milliseconds: 300),

don't forget to use set state or statemangment like getx to refresh the widget .

heshesh2010 avatar Sep 16 '23 22:09 heshesh2010