Rather, it would beīetter to add a listener to the TabController that updates theĬontent_copy TabController(vsync: tickerProvider, length: tabCount).addListener(() )Ĭreates a visual scaffold for Material Design widgets. View a scaffold with a differently titled AppBar. Tabbed UI, where the bottomNavigationBar is a TabBarĪnd the body is a TabBarView, you might be tempted to make each tab bar It is typically not necessary to nest Scaffolds. Material's basic visual layout structure. To each route on a Material app will provide the app with The Scaffold is designed to be a top level container forĪ MaterialApp. The way I'm attempting to do this is to change the body value of the Scaffold according to the currently selected index of the BottomNavigationBar().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |