🐛 Fix compability issue on web platform

This commit is contained in:
2025-05-16 22:48:23 +08:00
parent a9da4b4f4f
commit 1e10ca626b
26 changed files with 989 additions and 251 deletions

View File

@ -7,6 +7,8 @@ class UniversalImage extends StatelessWidget {
final BoxFit fit;
final double? width;
final double? height;
// No cache optimization for web
final bool noCacheOptimization;
const UniversalImage({
super.key,
@ -15,6 +17,7 @@ class UniversalImage extends StatelessWidget {
this.fit = BoxFit.cover,
this.width,
this.height,
this.noCacheOptimization = false,
});
@override