当我尝试将我的应用程序构建到Flutter Desktop时,它失败了,并显示以下消息: Running "flutter pub get" in project...Launching lib/main.dart on Linux in debug mode...Exception: No Linux desktop project configured.See https://github.com/flutter/
The goal:我不使用BottomNavigationBar的硬编码高度,而是将其大小作为屏幕高度的一小部分。到目前为止,是我的方法,:我想出了用SizedBox包BottomNavigationBar并控制高度的方法。在船底的密码。The problem:我在各种设备上遇到了大量的BottomNavigationBarItems。
我试着使用SizedBox的高度缩放图标,但是我需要使条目变得非常小,以避免溢出,所以这不是一个选项。<em