vertical_tabs icon indicating copy to clipboard operation
vertical_tabs copied to clipboard

Ability to Change tab programmatically

Open fahadappguy opened this issue 4 years ago • 2 comments

Hi, thanks for this awesome widget. Does this widget have an ability to change tabs programmatically? Like we have a "tab controller" for tab bar. If not, can we have a workaround, a call back function or something?

fahadappguy avatar Apr 20 '20 11:04 fahadappguy

I think you can recall the widget and change initialIndex. also there is an onSelect callback available

Ali-Azmoud avatar Apr 25 '20 21:04 Ali-Azmoud

i try to use setState(() { initialIndex = 1; }); nothing happened..

von7750 avatar May 31 '20 15:05 von7750