We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f112a commit ed75f8fCopy full SHA for ed75f8f
lib/custom_render.dart
@@ -536,7 +536,7 @@ double _aspectRatio(
536
if (heightString != null && widthString != null) {
537
final height = double.tryParse(heightString);
538
final width = double.tryParse(widthString);
539
- return height == null || width == null
+ return height == null || width == null || height == 0.0
540
? calculated.data!.aspectRatio
541
: width / height;
542
}
0 commit comments