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
cc600fc0
Commit
cc600fc0
authored
Aug 22, 2016
by
Hans Muller
Committed by
GitHub
Aug 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a gallery feedback link (#5511)
parent
2796d745
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
drawer.dart
examples/flutter_gallery/lib/gallery/drawer.dart
+17
-3
No files found.
examples/flutter_gallery/lib/gallery/drawer.dart
View file @
cc600fc0
...
...
@@ -111,7 +111,7 @@ class GalleryDrawer extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
final
ThemeData
themeData
=
Theme
.
of
(
context
);
final
TextStyle
aboutTextStyle
=
themeData
.
textTheme
.
body2
;
final
TextStyle
aboutL
inkStyle
=
themeData
.
textTheme
.
body2
.
copyWith
(
color:
themeData
.
accentColor
);
final
TextStyle
l
inkStyle
=
themeData
.
textTheme
.
body2
.
copyWith
(
color:
themeData
.
accentColor
);
return
new
Drawer
(
child:
new
Block
(
...
...
@@ -176,6 +176,20 @@ class GalleryDrawer extends StatelessWidget {
]
)
),
new
DrawerItem
(
icon:
new
Icon
(
Icons
.
report
),
child:
new
RichText
(
text:
new
TextSpan
(
children:
<
TextSpan
>[
new
LinkTextSpan
(
text:
"File an issue"
,
style:
linkStyle
,
url:
'https://github.com/flutter/flutter/issues/new'
)
]
)
)
),
new
AboutDrawerItem
(
icon:
new
FlutterLogo
(),
applicationVersion:
'2016 Q3 Preview'
,
...
...
@@ -196,7 +210,7 @@ class GalleryDrawer extends StatelessWidget {
"animations, layouts, and more. Learn more about Flutter at "
),
new
LinkTextSpan
(
style:
aboutL
inkStyle
,
style:
l
inkStyle
,
url:
'https://flutter.io'
),
new
TextSpan
(
...
...
@@ -204,7 +218,7 @@ class GalleryDrawer extends StatelessWidget {
text:
".
\n\n
To see the source code for this app, please visit the "
),
new
LinkTextSpan
(
style:
aboutL
inkStyle
,
style:
l
inkStyle
,
url:
'https://goo.gl/iv1p4G'
,
text:
'flutter github repo'
),
...
...
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