fluttercandies / extended_tabs

A powerful official extension library of Tab/TabBar/TabView, which support to scroll ancestor or child Tabs when current is overscroll, and set scroll direction and cache extent.
https://fluttercandies.github.io/extended_tabs/
MIT License
268 stars 49 forks source link

tab切换,生命周期 #19

Closed sanjin123 closed 3 years ago

sanjin123 commented 3 years ago

当存在有tab0,tab1,tab2,tab3,四个tab时: 从tab0->tab3时,调用为: tab3.initState tab0.dispose 然后从tab3->tab1时,调用为: tab2.initState tab2.dispose tab1.initState tab3.dispose 这里有办法不然他调用到tab2的initState和dispose方法吗?

zmtzawqlp commented 3 years ago

没有,有过渡动画。会从0,1,2 到3