Flutter 学习: BottomNavigationBar 自定义底部导航条,已经实现页面切换
一.复习上一节有状态组件写法classHomePageextendsStatefulWidget{@overrideStatecreateState(){//TODO:implementcreateStatereturnMyButtonWidget();}}classMyButtonWidgetextendsState{@overrideWidgetbuild(BuildContextcontex