Showing
1 changed file
with
1 additions
and
0 deletions
@@ -59,6 +59,7 @@ class GridView extends MultiChildWidget implements SpanningWidget { | @@ -59,6 +59,7 @@ class GridView extends MultiChildWidget implements SpanningWidget { | ||
59 | this.childAspectRatio = double.infinity, | 59 | this.childAspectRatio = double.infinity, |
60 | List<Widget> children = const <Widget>[]}) | 60 | List<Widget> children = const <Widget>[]}) |
61 | : assert(padding != null), | 61 | : assert(padding != null), |
62 | + assert(crossAxisCount != null), | ||
62 | super(children: children); | 63 | super(children: children); |
63 | 64 | ||
64 | final Axis direction; | 65 | final Axis direction; |
-
Please register or login to post a comment