Put Cupertino gallery demos in alphabetical order (#21081)

This commit is contained in:
xster 2018-08-27 15:10:05 -07:00 committed by GitHub
parent c594696f06
commit 3313f5185f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,13 +403,6 @@ List<GalleryDemo> _buildGalleryDemos() {
routeName: CupertinoProgressIndicatorDemo.routeName,
buildRoute: (BuildContext context) => new CupertinoProgressIndicatorDemo(),
),
new GalleryDemo(
title: 'Buttons',
icon: GalleryIcons.generic_buttons,
category: _kCupertinoComponents,
routeName: CupertinoButtonsDemo.routeName,
buildRoute: (BuildContext context) => new CupertinoButtonsDemo(),
),
new GalleryDemo(
title: 'Alerts',
icon: GalleryIcons.dialogs,
@ -417,6 +410,13 @@ List<GalleryDemo> _buildGalleryDemos() {
routeName: CupertinoAlertDemo.routeName,
buildRoute: (BuildContext context) => new CupertinoAlertDemo(),
),
new GalleryDemo(
title: 'Buttons',
icon: GalleryIcons.generic_buttons,
category: _kCupertinoComponents,
routeName: CupertinoButtonsDemo.routeName,
buildRoute: (BuildContext context) => new CupertinoButtonsDemo(),
),
new GalleryDemo(
title: 'Navigation',
icon: GalleryIcons.bottom_navigation,