🐛 Fix image rendering
This commit is contained in:
@@ -31,7 +31,10 @@ class UniversalImage extends StatelessWidget {
|
|||||||
height != null ? (height! * devicePixelRatio).round() : null;
|
height != null ? (height! * devicePixelRatio).round() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Stack(
|
return SizedBox(
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
child: Stack(
|
||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
children: [
|
children: [
|
||||||
if (blurHash != null) BlurHash(hash: blurHash!),
|
if (blurHash != null) BlurHash(hash: blurHash!),
|
||||||
@@ -56,6 +59,7 @@ class UniversalImage extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user