new BottomNavigationBarItem(icon:新图标(Icons.)color . fromrgbo (79, 119,45,1): color . fromrgbo (236, 243,158,1)),title: new Container(height: 0.0),
它将是label
,因为title
已被弃用。
点击链接:https://docs.flutter.dev/release/breaking-changes/bottom-navigation-title-to-label