mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Rename "Over-scroll" demo to "Pull to refresh" (#8224)
Fixes https://github.com/flutter/flutter/issues/5935
This commit is contained in:
parent
c458fb9d2c
commit
1bd7dbc2ec
@ -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>[
|
||||
// Demos
|
||||
new GalleryItem(
|
||||
@ -162,12 +164,6 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
|
||||
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<GalleryItem> kAllGalleryItems = <GalleryItem>[
|
||||
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',
|
||||
|
||||
@ -35,10 +35,10 @@ final List<String> demoTitles = <String>[
|
||||
'List',
|
||||
'Menus',
|
||||
'Modal bottom sheet',
|
||||
'Over-scroll',
|
||||
'Page selector',
|
||||
'Persistent bottom sheet',
|
||||
'Progress indicators',
|
||||
'Pull to refresh',
|
||||
'Scrollable tabs',
|
||||
'Selection controls',
|
||||
'Sliders',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user