【发布时间】:2021-03-08 01:12:18
【问题描述】:
我想使用 flutter 框架制作我的启动画面 我要做的就是将初始屏幕颜色从白色更改为十六进制的 003A55 enter image description here
【问题讨论】:
标签: xml flutter-layout splash-screen launch-screen android-xml-attribute
我想使用 flutter 框架制作我的启动画面 我要做的就是将初始屏幕颜色从白色更改为十六进制的 003A55 enter image description here
【问题讨论】:
标签: xml flutter-layout splash-screen launch-screen android-xml-attribute
你可以使用包https://pub.dev/packages/flutter_native_splash
第 1 步:在pubspec.yaml 添加设置
dev_dependencies:
flutter_test:
sdk: flutter
flutter_native_splash: any
flutter_native_splash:
color: 003A55
第二步:运行命令flutter pub run flutter_native_splash:create
工作演示
【讨论】: