Browse Source

safety

master
fmk 3 years ago
parent
commit
27e99c3be0
  1. 3
      lib/view_widget/custom_image.dart

3
lib/view_widget/custom_image.dart

@ -37,6 +37,9 @@ class MImage extends StatelessWidget {
"x${constraints.constrainHeight() * scaleIndex}/format/webp/quality/100";
}
print("constrainWidth: ${constraints.constrainWidth()}");
print("constrainHeight: ${constraints.constrainHeight()}");
if (imageUrl == null || imageUrl == "") {
return Image.asset(
"assets/image/default_2_1.png",

Loading…
Cancel
Save