Change the Gallery AnimationDemo category (#5041)

This commit is contained in:
Hans Muller 2016-07-26 11:00:11 -07:00 committed by GitHub
parent 4c3018f725
commit 76ea70a123
2 changed files with 8 additions and 6 deletions

View File

@ -66,12 +66,6 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
buildRoute: (BuildContext context) => new ContactsDemo()
),
// Components
new GalleryItem(
title: 'Animation',
subtitle: 'Material motion for points and rectangles',
routeName: AnimationDemo.routeName,
buildRoute: (BuildContext context) => new AnimationDemo()
),
new GalleryItem(
title: 'Buttons',
subtitle: 'All kinds: flat, raised, dropdown, icon, etc',
@ -229,6 +223,13 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
buildRoute: (BuildContext context) => new TooltipDemo()
),
// Styles
new GalleryItem(
title: 'Animation',
subtitle: 'Material motion for points and rectangles',
category: 'Style',
routeName: AnimationDemo.routeName,
buildRoute: (BuildContext context) => new AnimationDemo()
),
new GalleryItem(
title: 'Colors',
subtitle: 'All of the predefined colors',

View File

@ -54,6 +54,7 @@ final List<String> demoTitles = <String>[
'Time picker',
'Tooltips',
// Style
'Animation',
'Colors',
'Typography'
];