我正在尝试使底部导航栏为白色,带有黑色图标(相对于默认的黑色背景和白色按钮)。 我在main.dart中使用了这段代码,其中我使用了SystemChrome方法来设置背景色和图标颜色。当我第一次打开这个应用程序时,这看起来很棒。 class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientatio