Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
d9cd85e3
Commit
d9cd85e3
authored
Apr 12, 2017
by
Hans Muller
Committed by
GitHub
Apr 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the pesto gallery demo (#9341)
parent
2a545243
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
288 additions
and
275 deletions
+288
-275
item.dart
examples/flutter_gallery/lib/gallery/item.dart
+288
-274
transitions_perf_test.dart
...es/flutter_gallery/test_driver/transitions_perf_test.dart
+0
-1
No files found.
examples/flutter_gallery/lib/gallery/item.dart
View file @
d9cd85e3
...
...
@@ -49,17 +49,11 @@ 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
>[
List
<
GalleryItem
>
_buildGalleryItems
()
{
// When editing this list, make sure you keep it in sync with
// the list in ../../test_driver/transitions_perf_test.dart
final
List
<
GalleryItem
>
galleryItems
=
<
GalleryItem
>[
// Demos
new
GalleryItem
(
title:
'Pesto'
,
subtitle:
'Simple recipe browser'
,
category:
'Demos'
,
routeName:
PestoDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
new
PestoDemo
(),
),
new
GalleryItem
(
title:
'Shrine'
,
subtitle:
'Basic shopping app'
,
...
...
@@ -322,4 +316,24 @@ final List<GalleryItem> kAllGalleryItems = <GalleryItem>[
routeName:
TypographyDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
new
TypographyDemo
(),
)
];
];
// Keep Pesto around for its regression test value. It is not included
// in (release builds) the performance tests.
assert
(()
{
galleryItems
.
insert
(
0
,
new
GalleryItem
(
title:
'Pesto'
,
subtitle:
'Simple recipe browser'
,
category:
'Demos'
,
routeName:
PestoDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
new
PestoDemo
(),
),
);
return
true
;
});
return
galleryItems
;
}
final
List
<
GalleryItem
>
kAllGalleryItems
=
_buildGalleryItems
();
examples/flutter_gallery/test_driver/transitions_perf_test.dart
View file @
d9cd85e3
...
...
@@ -33,7 +33,6 @@ class Demo {
// kAllGalleryItems.map((GalleryItem item) => item.title).toList();
const
List
<
Demo
>
demos
=
const
<
Demo
>[
// Demos
const
Demo
(
'Pesto'
,
profiled:
true
),
const
Demo
(
'Shrine'
,
profiled:
true
),
const
Demo
(
'Contact profile'
,
profiled:
true
),
const
Demo
(
'Animation'
,
profiled:
true
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment