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
d05bc9c0
Unverified
Commit
d05bc9c0
authored
Apr 19, 2018
by
xster
Committed by
GitHub
Apr 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove UI with the word 'demo' from the gallery (#16767)
parent
b83eb465
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
contacts_demo.dart
examples/flutter_gallery/lib/demo/contacts_demo.dart
+3
-3
video_demo.dart
examples/flutter_gallery/lib/demo/video_demo.dart
+1
-1
No files found.
examples/flutter_gallery/lib/demo/contacts_demo.dart
View file @
d05bc9c0
...
@@ -124,7 +124,7 @@ class ContactsDemoState extends State<ContactsDemo> {
...
@@ -124,7 +124,7 @@ class ContactsDemoState extends State<ContactsDemo> {
tooltip:
'Edit'
,
tooltip:
'Edit'
,
onPressed:
()
{
onPressed:
()
{
_scaffoldKey
.
currentState
.
showSnackBar
(
const
SnackBar
(
_scaffoldKey
.
currentState
.
showSnackBar
(
const
SnackBar
(
content:
const
Text
(
'This is actually just a demo. Editing isn
\'
t supported.'
)
content:
const
Text
(
"Editing isn't supported in this screen."
)
));
));
},
},
),
),
...
@@ -203,7 +203,7 @@ class ContactsDemoState extends State<ContactsDemo> {
...
@@ -203,7 +203,7 @@ class ContactsDemoState extends State<ContactsDemo> {
tooltip:
'Send message'
,
tooltip:
'Send message'
,
onPressed:
()
{
onPressed:
()
{
_scaffoldKey
.
currentState
.
showSnackBar
(
const
SnackBar
(
_scaffoldKey
.
currentState
.
showSnackBar
(
const
SnackBar
(
content:
const
Text
(
'
In this demo, this button doesn
\'
t do anything
.'
)
content:
const
Text
(
'
A messaging app appears
.'
)
));
));
},
},
lines:
const
<
String
>[
lines:
const
<
String
>[
...
@@ -247,7 +247,7 @@ class ContactsDemoState extends State<ContactsDemo> {
...
@@ -247,7 +247,7 @@ class ContactsDemoState extends State<ContactsDemo> {
tooltip:
'Send work e-mail'
,
tooltip:
'Send work e-mail'
,
onPressed:
()
{
onPressed:
()
{
_scaffoldKey
.
currentState
.
showSnackBar
(
const
SnackBar
(
_scaffoldKey
.
currentState
.
showSnackBar
(
const
SnackBar
(
content:
const
Text
(
'
This is a demo, so this button does not actually work
.'
)
content:
const
Text
(
'
Summon your favorite e-mail application here
.'
)
));
));
},
},
lines:
const
<
String
>[
lines:
const
<
String
>[
...
...
examples/flutter_gallery/lib/demo/video_demo.dart
View file @
d05bc9c0
...
@@ -419,7 +419,7 @@ class _VideoDemoState extends State<VideoDemo>
...
@@ -419,7 +419,7 @@ class _VideoDemoState extends State<VideoDemo>
)
)
:
const
Center
(
:
const
Center
(
child:
const
Text
(
child:
const
Text
(
'
The video demo is
not supported on the iOS Simulator.'
,
'
Video playback
not supported on the iOS Simulator.'
,
),
),
),
),
);
);
...
...
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