出現了 splashScreen 不支持空安全的錯誤。當我降級 SDK 版本時它得到了修復,但我的問題是,如何在不降級的情況下使用具有空安全性的 SplashScreen。如果我不能,那么 SplashScreen 的替代品是什么,它與 SplashScreen 執行相同的任務但支持空安全?
uj5u.com熱心網友回復:
flutter_native_splash是flutter最喜歡的閃屏包,它也支持空安全。你可以使用那個https://pub.dev/packages/flutter_native_splash
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/372208.html
上一篇:顫動:滾動時要越過曲線部分的資料
