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
187ff002
Commit
187ff002
authored
Jun 13, 2016
by
Hans Muller
Committed by
GitHub
Jun 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New gallery app bar background (#4539)
parent
2099d378
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
6 deletions
+12
-6
pubspec.yaml
dev/benchmarks/complex_layout/pubspec.yaml
+1
-1
pubspec.yaml
dev/manual_tests/pubspec.yaml
+1
-1
flutter.yaml
examples/flutter_gallery/flutter.yaml
+1
-0
icons_demo.dart
examples/flutter_gallery/lib/demo/icons_demo.dart
+1
-1
app.dart
examples/flutter_gallery/lib/gallery/app.dart
+2
-2
home.dart
examples/flutter_gallery/lib/gallery/home.dart
+5
-0
pubspec.yaml
examples/flutter_gallery/pubspec.yaml
+1
-1
No files found.
dev/benchmarks/complex_layout/pubspec.yaml
View file @
187ff002
...
...
@@ -11,7 +11,7 @@ dependencies:
flutter_gallery_assets
:
git
:
url
:
https://flutter.googlesource.com/gallery-assets
ref
:
5c9118f9e6005c9fef6f1a340e5c475494c2ba80
ref
:
ea2c9c344c8b6b318341590e2af0707f8a6649f1
dev_dependencies
:
flutter_test
:
...
...
dev/manual_tests/pubspec.yaml
View file @
187ff002
...
...
@@ -9,7 +9,7 @@ dependencies:
flutter_gallery_assets
:
git
:
url
:
https://flutter.googlesource.com/gallery-assets
ref
:
5c9118f9e6005c9fef6f1a340e5c475494c2ba80
ref
:
ea2c9c344c8b6b318341590e2af0707f8a6649f1
dev_dependencies
:
test
:
any
# flutter_test provides the version constraints
...
...
examples/flutter_gallery/flutter.yaml
View file @
187ff002
...
...
@@ -8,6 +8,7 @@ assets:
-
assets/section_components.png
-
assets/section_patterns.png
-
assets/section_usability.png
-
packages/flutter_gallery_assets/appbar_background.jpg
-
packages/flutter_gallery_assets/pesto/avatar.jpg
-
packages/flutter_gallery_assets/pesto/image10.jpg
-
packages/flutter_gallery_assets/pesto/image11.jpg
...
...
examples/flutter_gallery/lib/demo/icons_demo.dart
View file @
187ff002
...
...
@@ -34,7 +34,7 @@ class IconsDemoState extends State<IconsDemo> {
Colors
.
blueGrey
];
int
iconColorIndex
=
2
;
int
iconColorIndex
=
9
;
// green
double
iconOpacity
=
1.0
;
Color
get
iconColor
=>
iconColorSwatches
[
iconColorIndex
][
400
];
...
...
examples/flutter_gallery/lib/gallery/app.dart
View file @
187ff002
...
...
@@ -46,12 +46,12 @@ final Map<String, WidgetBuilder> kRoutes = <String, WidgetBuilder>{
final
ThemeData
_kGalleryLightTheme
=
new
ThemeData
(
brightness:
Brightness
.
light
,
primarySwatch:
Colors
.
purple
primarySwatch:
Colors
.
green
);
final
ThemeData
_kGalleryDarkTheme
=
new
ThemeData
(
brightness:
Brightness
.
dark
,
primarySwatch:
Colors
.
purple
primarySwatch:
Colors
.
green
);
class
GalleryApp
extends
StatefulWidget
{
...
...
examples/flutter_gallery/lib/gallery/home.dart
View file @
187ff002
...
...
@@ -59,6 +59,11 @@ class GalleryHomeState extends State<GalleryHome> {
appBar:
new
AppBar
(
expandedHeight:
_kFlexibleSpaceMaxHeight
,
flexibleSpace:
new
FlexibleSpaceBar
(
background:
new
AssetImage
(
name:
'packages/flutter_gallery_assets/appbar_background.jpg'
,
fit:
ImageFit
.
cover
,
height:
_kFlexibleSpaceMaxHeight
),
title:
new
Text
(
'Flutter gallery'
)
)
),
...
...
examples/flutter_gallery/pubspec.yaml
View file @
187ff002
...
...
@@ -13,7 +13,7 @@ dependencies:
flutter_gallery_assets
:
git
:
url
:
https://flutter.googlesource.com/gallery-assets
ref
:
5c9118f9e6005c9fef6f1a340e5c475494c2ba80
ref
:
ea2c9c344c8b6b318341590e2af0707f8a6649f1
dev_dependencies
:
test
:
any
# flutter_test provides the version constraints
...
...
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