Commit 1bd7dbc2 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Rename "Over-scroll" demo to "Pull to refresh" (#8224)

Fixes https://github.com/flutter/flutter/issues/5935
parent c458fb9d
...@@ -42,6 +42,8 @@ class GalleryItem extends StatelessWidget { ...@@ -42,6 +42,8 @@ class GalleryItem extends StatelessWidget {
} }
} }
// When editing this list, make sure you keep it in sync with
// the list in ../../test_driver/transitions_perf_test.dart
final List<GalleryItem> kAllGalleryItems = <GalleryItem>[ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
// Demos // Demos
new GalleryItem( new GalleryItem(
...@@ -162,12 +164,6 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[ ...@@ -162,12 +164,6 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
routeName: ModalBottomSheetDemo.routeName, routeName: ModalBottomSheetDemo.routeName,
buildRoute: (BuildContext context) => new ModalBottomSheetDemo() buildRoute: (BuildContext context) => new ModalBottomSheetDemo()
), ),
new GalleryItem(
title: 'Over-scroll',
subtitle: 'Refresh and overscroll indicators',
routeName: OverscrollDemo.routeName,
buildRoute: (BuildContext context) => new OverscrollDemo()
),
new GalleryItem( new GalleryItem(
title: 'Page selector', title: 'Page selector',
subtitle: 'PageView with indicator', subtitle: 'PageView with indicator',
...@@ -186,6 +182,12 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[ ...@@ -186,6 +182,12 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
routeName: ProgressIndicatorDemo.routeName, routeName: ProgressIndicatorDemo.routeName,
buildRoute: (BuildContext context) => new ProgressIndicatorDemo() buildRoute: (BuildContext context) => new ProgressIndicatorDemo()
), ),
new GalleryItem(
title: 'Pull to refresh',
subtitle: 'Refresh indicators',
routeName: OverscrollDemo.routeName,
buildRoute: (BuildContext context) => new OverscrollDemo()
),
new GalleryItem( new GalleryItem(
title: 'Scrollable tabs', title: 'Scrollable tabs',
subtitle: 'Tab bar that scrolls', subtitle: 'Tab bar that scrolls',
......
...@@ -35,10 +35,10 @@ final List<String> demoTitles = <String>[ ...@@ -35,10 +35,10 @@ final List<String> demoTitles = <String>[
'List', 'List',
'Menus', 'Menus',
'Modal bottom sheet', 'Modal bottom sheet',
'Over-scroll',
'Page selector', 'Page selector',
'Persistent bottom sheet', 'Persistent bottom sheet',
'Progress indicators', 'Progress indicators',
'Pull to refresh',
'Scrollable tabs', 'Scrollable tabs',
'Selection controls', 'Selection controls',
'Sliders', 'Sliders',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment