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 cd1e510 commit 9cc8a56Copy full SHA for 9cc8a56
lib/src/layout_element.dart
@@ -155,6 +155,11 @@ class TableLayoutElement extends LayoutElement {
155
max(0, columnMax - finalColumnSizes.length),
156
(_) => IntrinsicContentTrackSize());
157
158
+ if (finalColumnSizes.isEmpty || rowSizes.isEmpty) {
159
+ // No actual cells to show
160
+ return SizedBox();
161
+ }
162
+
163
return LayoutGrid(
164
gridFit: GridFit.loose,
165
columnSizes: finalColumnSizes,
0 commit comments