Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # ConvexAppBar ## change active tab - https://github.com/hacktons/convex_bottom_bar/blob/master/doc/issue-change-active-tab-index.md ```dart // define field instance GlobalKey<ConvexAppBarState> _appBarKey = GlobalKey<ConvexAppBarState>(); // construct with key ConvexAppBar(key: _appBarKey, /* ... */); // access related State when necessary such as onPageChanged _appBarKey.currentState.animateTo(2/* index*/); ``` open/convexappbar.txt Last modified: 2024/10/05 06:15by 127.0.0.1