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 8d249c2 commit f250db6Copy full SHA for f250db6
examples/flutter_gallery/lib/demo/cupertino/cupertino_navigation_demo.dart
@@ -34,10 +34,10 @@ const int _kChildCount = 50;
34
35
class CupertinoNavigationDemo extends StatelessWidget {
36
CupertinoNavigationDemo()
37
- : colorItems = List<Color>.generate(50, (int index) {
+ : colorItems = List<Color>.generate(_kChildCount, (int index) {
38
return coolColors[math.Random().nextInt(coolColors.length)];
39
}) ,
40
- colorNameItems = List<String>.generate(50, (int index) {
+ colorNameItems = List<String>.generate(_kChildCount, (int index) {
41
return coolColorNames[math.Random().nextInt(coolColorNames.length)];
42
});
43
0 commit comments