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
4eff10e1
Commit
4eff10e1
authored
Mar 03, 2016
by
Viktor Lidholt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2388 from vlidholt/master
Renames Weather demo
parents
0382817e
2d76b2f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
weather_demo.dart
examples/material_gallery/lib/demo/weather_demo.dart
+6
-6
home.dart
examples/material_gallery/lib/gallery/home.dart
+2
-2
No files found.
examples/material_gallery/lib/demo/weather
s
_demo.dart
→
examples/material_gallery/lib/demo/weather_demo.dart
View file @
4eff10e1
...
...
@@ -17,12 +17,12 @@ enum WeatherType {
snow
}
class
Weather
s
Demo
extends
StatefulComponent
{
Weather
s
Demo
({
Key
key
})
:
super
(
key:
key
);
_Weather
sDemoState
createState
()
=>
new
_Weathers
DemoState
();
class
WeatherDemo
extends
StatefulComponent
{
WeatherDemo
({
Key
key
})
:
super
(
key:
key
);
_Weather
DemoState
createState
()
=>
new
_Weather
DemoState
();
}
class
_Weather
sDemoState
extends
State
<
Weathers
Demo
>
{
class
_Weather
DemoState
extends
State
<
Weather
Demo
>
{
Future
_loadAssets
(
AssetBundle
bundle
)
async
{
_images
=
new
ImageMap
(
bundle
);
...
...
@@ -62,7 +62,7 @@ class _WeathersDemoState extends State<WeathersDemo> {
if
(!
assetsLoaded
)
{
return
new
Scaffold
(
toolBar:
new
ToolBar
(
center:
new
Text
(
"Weather
s
"
)
center:
new
Text
(
"Weather"
)
),
body:
new
Container
(
decoration:
new
BoxDecoration
(
...
...
@@ -74,7 +74,7 @@ class _WeathersDemoState extends State<WeathersDemo> {
return
new
Scaffold
(
toolBar:
new
ToolBar
(
center:
new
Text
(
"Weather
s
"
)
center:
new
Text
(
"Weather"
)
),
body:
new
Material
(
child:
new
Stack
(
...
...
examples/material_gallery/lib/gallery/home.dart
View file @
4eff10e1
...
...
@@ -35,7 +35,7 @@ import '../demo/time_picker_demo.dart';
import
'../demo/tooltip_demo.dart'
;
import
'../demo/two_level_list_demo.dart'
;
import
'../demo/typography_demo.dart'
;
import
'../demo/weather
s
_demo.dart'
;
import
'../demo/weather_demo.dart'
;
class
GalleryHome
extends
StatefulComponent
{
GalleryHome
({
Key
key
})
:
super
(
key:
key
);
...
...
@@ -70,7 +70,7 @@ class GalleryHomeState extends State<GalleryHome> {
image:
'assets/section_animation.png'
,
colors:
Colors
.
purple
,
demos:
<
GalleryDemo
>[
new
GalleryDemo
(
title:
'Weather
s'
,
builder:
()
=>
new
Weathers
Demo
()),
new
GalleryDemo
(
title:
'Weather
'
,
builder:
()
=>
new
Weather
Demo
()),
new
GalleryDemo
(
title:
'Fitness'
,
builder:
()
=>
new
FitnessDemo
())
]
),
...
...
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