修改FTM文件,加载圈子背景图片

This commit is contained in:
CYH 2023-08-17 14:33:06 +08:00
parent f81f04708a
commit 3109834f2b
2 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 977 B

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -420,8 +420,9 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
loadBgImage() async { loadBgImage() async {
await precacheImage(precacheImages(_guideList.first), context); await precacheImage(precacheImages(_guideList.first), context);
await precacheImage(precacheImages(_guideList.last), context); await precacheImage(precacheImages(_guideList.last), context);
await precacheImage(AssetImage(getBaseImage('bg')), context, await precacheImage(AssetImage(getCircleImage('circle_bg')), context,
size: Size(Get.width, Get.height)); size: Size(Get.width, Get.height));
} }
precacheImages(String image) { precacheImages(String image) {