更新沃棣背景适配
This commit is contained in:
@@ -236,7 +236,7 @@ class _HomePageState extends State<HomePage> {
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage('assets/img/bgImage.png'), // 本地图片
|
||||
image: AssetImage(getBackgroundImage()), // 本地图片
|
||||
fit: BoxFit.fill, // 填满整个 Container
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user