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
33fea5c1
Unverified
Commit
33fea5c1
authored
Mar 20, 2018
by
xster
Committed by
GitHub
Mar 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the 'demo' wording from gallery (#15640)
parent
d8f36071
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
item.dart
examples/flutter_gallery/lib/gallery/item.dart
+5
-5
example_code_display_test.dart
examples/flutter_gallery/test/example_code_display_test.dart
+1
-1
simple_smoke_test.dart
examples/flutter_gallery/test/simple_smoke_test.dart
+1
-1
scroll_perf_test.dart
examples/flutter_gallery/test_driver/scroll_perf_test.dart
+1
-1
No files found.
examples/flutter_gallery/lib/gallery/item.dart
View file @
33fea5c1
...
...
@@ -55,28 +55,28 @@ List<GalleryItem> _buildGalleryItems() {
new
GalleryItem
(
title:
'Shrine'
,
subtitle:
'Basic shopping app'
,
category:
'
Demo
s'
,
category:
'
Vignette
s'
,
routeName:
ShrineDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
new
ShrineDemo
(),
),
new
GalleryItem
(
title:
'Contact profile'
,
subtitle:
'Address book entry with a flexible appbar'
,
category:
'
Demo
s'
,
category:
'
Vignette
s'
,
routeName:
ContactsDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
new
ContactsDemo
(),
),
new
GalleryItem
(
title:
'Animation'
,
subtitle:
'Section organizer'
,
category:
'
Demo
s'
,
category:
'
Vignette
s'
,
routeName:
AnimationDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
const
AnimationDemo
(),
),
new
GalleryItem
(
title:
'Video'
,
subtitle:
'Video playback'
,
category:
'
Demo
s'
,
category:
'
Vignette
s'
,
routeName:
VideoDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
const
VideoDemo
(),
),
...
...
@@ -373,7 +373,7 @@ List<GalleryItem> _buildGalleryItems() {
new
GalleryItem
(
title:
'Pesto'
,
subtitle:
'Simple recipe browser'
,
category:
'
Demo
s'
,
category:
'
Vignette
s'
,
routeName:
PestoDemo
.
routeName
,
buildRoute:
(
BuildContext
context
)
=>
const
PestoDemo
(),
),
...
...
examples/flutter_gallery/test/example_code_display_test.dart
View file @
33fea5c1
...
...
@@ -20,7 +20,7 @@ void main() {
// Scroll the Buttons demo into view so that a tap will succeed
final
Offset
allDemosOrigin
=
tester
.
getTopRight
(
find
.
text
(
'
Demo
s'
));
final
Offset
allDemosOrigin
=
tester
.
getTopRight
(
find
.
text
(
'
Vignette
s'
));
final
Finder
button
=
find
.
text
(
'Buttons'
);
while
(
button
.
evaluate
().
isEmpty
)
{
await
tester
.
dragFrom
(
allDemosOrigin
,
const
Offset
(
0.0
,
-
200.0
));
...
...
examples/flutter_gallery/test/simple_smoke_test.dart
View file @
33fea5c1
...
...
@@ -37,7 +37,7 @@ void main() {
await
tester
.
pump
(
const
Duration
(
seconds:
1
));
// end animation
// Open Demos
await
tester
.
tap
(
find
.
text
(
'
Demo
s'
));
await
tester
.
tap
(
find
.
text
(
'
Vignette
s'
));
await
tester
.
pump
();
// start animation
await
tester
.
pump
(
const
Duration
(
seconds:
1
));
// end animation
...
...
examples/flutter_gallery/test_driver/scroll_perf_test.dart
View file @
33fea5c1
...
...
@@ -26,7 +26,7 @@ void main() {
final
SerializableFinder
stockList
=
find
.
byValueKey
(
'Gallery List'
);
expect
(
stockList
,
isNotNull
);
await
driver
.
tap
(
find
.
text
(
'
Demo
s'
));
await
driver
.
tap
(
find
.
text
(
'
Vignette
s'
));
await
driver
.
tap
(
find
.
text
(
'Components'
));
await
driver
.
tap
(
find
.
text
(
'Style'
));
...
...
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