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.
2 parents 8bd4e0b + bfadd44 commit c914679Copy full SHA for c914679
lib/src/layout_element.dart
@@ -46,7 +46,7 @@ class TableLayoutElement extends LayoutElement {
46
if (colWidth != null && colWidth.endsWith("%")) {
47
final percentageSize = double.tryParse(
48
colWidth.substring(0, colWidth.length - 1));
49
- return percentageSize != null
+ return percentageSize != null && !percentageSize.isNaN
50
? FlexibleTrackSize(percentageSize * 0.01)
51
: FlexibleTrackSize(1);
52
} else if (colWidth != null) {
0 commit comments