From 1bd7dbc2ec79d12a89b809dadcc8b58f36d815c1 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Thu, 16 Feb 2017 17:14:01 -0800 Subject: [PATCH] Rename "Over-scroll" demo to "Pull to refresh" (#8224) Fixes https://github.com/flutter/flutter/issues/5935 --- examples/flutter_gallery/lib/gallery/item.dart | 14 ++++++++------ .../test_driver/transitions_perf_test.dart | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/flutter_gallery/lib/gallery/item.dart b/examples/flutter_gallery/lib/gallery/item.dart index 8fee3f74dcd..8f9a9c4c6ff 100644 --- a/examples/flutter_gallery/lib/gallery/item.dart +++ b/examples/flutter_gallery/lib/gallery/item.dart @@ -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 kAllGalleryItems = [ // Demos new GalleryItem( @@ -162,12 +164,6 @@ final List kAllGalleryItems = [ routeName: ModalBottomSheetDemo.routeName, 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( title: 'Page selector', subtitle: 'PageView with indicator', @@ -186,6 +182,12 @@ final List kAllGalleryItems = [ routeName: ProgressIndicatorDemo.routeName, buildRoute: (BuildContext context) => new ProgressIndicatorDemo() ), + new GalleryItem( + title: 'Pull to refresh', + subtitle: 'Refresh indicators', + routeName: OverscrollDemo.routeName, + buildRoute: (BuildContext context) => new OverscrollDemo() + ), new GalleryItem( title: 'Scrollable tabs', subtitle: 'Tab bar that scrolls', diff --git a/examples/flutter_gallery/test_driver/transitions_perf_test.dart b/examples/flutter_gallery/test_driver/transitions_perf_test.dart index ccb2171262b..7942be8ef1d 100644 --- a/examples/flutter_gallery/test_driver/transitions_perf_test.dart +++ b/examples/flutter_gallery/test_driver/transitions_perf_test.dart @@ -35,10 +35,10 @@ final List demoTitles = [ 'List', 'Menus', 'Modal bottom sheet', - 'Over-scroll', 'Page selector', 'Persistent bottom sheet', 'Progress indicators', + 'Pull to refresh', 'Scrollable tabs', 'Selection controls', 'Sliders',