Index: samples/swarm/swarm_ui_lib/layout/GridLayout.dart |
diff --git a/samples/swarm/swarm_ui_lib/layout/GridLayout.dart b/samples/swarm/swarm_ui_lib/layout/GridLayout.dart |
index 47c2f10011ee6f83cf638ec9a56356dee495e94d..24a01e71af6d10367cda667fe461cde213c1fc5a 100644 |
--- a/samples/swarm/swarm_ui_lib/layout/GridLayout.dart |
+++ b/samples/swarm/swarm_ui_lib/layout/GridLayout.dart |
@@ -506,7 +506,7 @@ class GridLayout extends ViewLayout { |
assert(start >= 0 && span >= 1); |
- final result = new List<GridTrack>.fixedLength(span); |
+ final result = new List<GridTrack>(span); |
for (int i = 0; i < span; i++) { |
result[i] = tracks[start + i]; |
} |