Commit 2d76b2f8 authored by Viktor Lidholt's avatar Viktor Lidholt

Renames Weather demo

parent 932b09c3
...@@ -17,12 +17,12 @@ enum WeatherType { ...@@ -17,12 +17,12 @@ enum WeatherType {
snow snow
} }
class WeathersDemo extends StatefulComponent { class WeatherDemo extends StatefulComponent {
WeathersDemo({ Key key }) : super(key: key); WeatherDemo({ Key key }) : super(key: key);
_WeathersDemoState createState() => new _WeathersDemoState(); _WeatherDemoState createState() => new _WeatherDemoState();
} }
class _WeathersDemoState extends State<WeathersDemo> { class _WeatherDemoState extends State<WeatherDemo> {
Future _loadAssets(AssetBundle bundle) async { Future _loadAssets(AssetBundle bundle) async {
_images = new ImageMap(bundle); _images = new ImageMap(bundle);
...@@ -62,7 +62,7 @@ class _WeathersDemoState extends State<WeathersDemo> { ...@@ -62,7 +62,7 @@ class _WeathersDemoState extends State<WeathersDemo> {
if (!assetsLoaded) { if (!assetsLoaded) {
return new Scaffold( return new Scaffold(
toolBar: new ToolBar( toolBar: new ToolBar(
center: new Text("Weathers") center: new Text("Weather")
), ),
body: new Container( body: new Container(
decoration: new BoxDecoration( decoration: new BoxDecoration(
...@@ -74,7 +74,7 @@ class _WeathersDemoState extends State<WeathersDemo> { ...@@ -74,7 +74,7 @@ class _WeathersDemoState extends State<WeathersDemo> {
return new Scaffold( return new Scaffold(
toolBar: new ToolBar( toolBar: new ToolBar(
center: new Text("Weathers") center: new Text("Weather")
), ),
body: new Material( body: new Material(
child: new Stack( child: new Stack(
......
...@@ -35,7 +35,7 @@ import '../demo/time_picker_demo.dart'; ...@@ -35,7 +35,7 @@ import '../demo/time_picker_demo.dart';
import '../demo/tooltip_demo.dart'; import '../demo/tooltip_demo.dart';
import '../demo/two_level_list_demo.dart'; import '../demo/two_level_list_demo.dart';
import '../demo/typography_demo.dart'; import '../demo/typography_demo.dart';
import '../demo/weathers_demo.dart'; import '../demo/weather_demo.dart';
class GalleryHome extends StatefulComponent { class GalleryHome extends StatefulComponent {
GalleryHome({ Key key }) : super(key: key); GalleryHome({ Key key }) : super(key: key);
...@@ -70,7 +70,7 @@ class GalleryHomeState extends State<GalleryHome> { ...@@ -70,7 +70,7 @@ class GalleryHomeState extends State<GalleryHome> {
image: 'assets/section_animation.png', image: 'assets/section_animation.png',
colors: Colors.purple, colors: Colors.purple,
demos: <GalleryDemo>[ demos: <GalleryDemo>[
new GalleryDemo(title: 'Weathers', builder: () => new WeathersDemo()), new GalleryDemo(title: 'Weather', builder: () => new WeatherDemo()),
new GalleryDemo(title: 'Fitness', builder: () => new FitnessDemo()) new GalleryDemo(title: 'Fitness', builder: () => new FitnessDemo())
] ]
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment