简体   繁体   English

Flutter:运行此代码后删除flutter_native_splash和flutter_launcher_icons的代码是否安全?

[英]Flutter: Is it safe if I remove the code of flutter_native_splash & flutter_launcher_icons after run this code?

I have tried to remove these codes.我试图删除这些代码。

flutter_icons:
  android: true
  ios: true
  image_path: "1024.png"
  adaptive_icon_foreground: "512.png"

flutter_native_splash:
  android: true
  ios: true
  image: "A.png"

The app still works successfully.该应用程序仍然可以成功运行。 So, is it safe to remove these?那么,删除这些是否安全?

These are tools to generate app icon and splash screen, so yes it is safe after generate those to remove them, but when yo decide to change app icon or splash screen you need to add them again.这些是生成应用程序图标和启动画面的工具,所以是的,在生成删除它们之后是安全的,但是当您决定更改应用程序图标或启动画面时,您需要再次添加它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM