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
eae466f0
Commit
eae466f0
authored
Aug 31, 2015
by
Hixie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the silly dialog.
Fixes #247.
parent
333e6115
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
25 deletions
+1
-25
main.dart
examples/address_book/lib/main.dart
+1
-25
No files found.
examples/address_book/lib/main.dart
View file @
eae466f0
...
...
@@ -48,31 +48,7 @@ class AddressBookApp extends App {
Widget
buildFloatingActionButton
(
Navigator
navigator
)
{
return
new
FloatingActionButton
(
child:
new
Icon
(
type:
'image/photo_camera'
,
size:
24
),
backgroundColor:
Theme
.
of
(
this
).
accentColor
,
onPressed:
()
{
showDialog
(
navigator
,
(
navigator
)
{
return
new
Dialog
(
title:
new
Text
(
"Describe your picture"
),
content:
new
Block
([
new
Field
(
inputKey:
fillKey
,
icon:
"editor/format_color_fill"
,
placeholder:
"Color"
),
new
Field
(
inputKey:
emoticonKey
,
icon:
"editor/insert_emoticon"
,
placeholder:
"Emotion"
),
]),
onDismiss:
navigator
.
pop
,
actions:
[
new
FlatButton
(
child:
new
Text
(
'DISCARD'
),
onPressed:
navigator
.
pop
),
new
FlatButton
(
child:
new
Text
(
'SAVE'
),
onPressed:
()
{
navigator
.
pop
();
}
),
]
);
});
}
backgroundColor:
Theme
.
of
(
this
).
accentColor
);
}
...
...
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