🐛 Fix image rendering

This commit is contained in:
2025-09-07 14:20:00 +08:00
parent 3a17837cc6
commit ef2c14daa2

View File

@@ -31,7 +31,10 @@ class UniversalImage extends StatelessWidget {
height != null ? (height! * devicePixelRatio).round() : null;
}
return Stack(
return SizedBox(
width: width,
height: height,
child: Stack(
fit: StackFit.expand,
children: [
if (blurHash != null) BlurHash(hash: blurHash!),
@@ -56,6 +59,7 @@ class UniversalImage extends StatelessWidget {
},
),
],
),
);
}
}