Commit e60f0e68 authored by Viktor Lidholt's avatar Viktor Lidholt

Merge pull request #1494 from vlidholt/master

Adds initial version of weather to the gallery app
parents d5e1f9c7 bfc9af5c
......@@ -7,6 +7,16 @@ assets:
- assets/section_components.png
- assets/section_patterns.png
- assets/section_usability.png
- packages/flutter_gallery_assets/sun.png
- packages/flutter_gallery_assets/clouds-0.png
- packages/flutter_gallery_assets/clouds-1.png
- packages/flutter_gallery_assets/ray.png
- packages/flutter_gallery_assets/sun.png
- packages/flutter_gallery_assets/weathersprites.json
- packages/flutter_gallery_assets/weathersprites.png
- packages/flutter_gallery_assets/icon-sun.png
- packages/flutter_gallery_assets/icon-rain.png
- packages/flutter_gallery_assets/icon-snow.png
material-design-icons:
- name: navigation/arrow_drop_down
- name: navigation/arrow_forward
......
This diff is collapsed.
......@@ -16,6 +16,7 @@ import 'demo/slider_demo.dart';
import 'demo/tabs_demo.dart';
import 'demo/time_picker_demo.dart';
import 'demo/two_level_list_demo.dart';
import 'demo/weathers_demo.dart';
class GalleryDemo {
GalleryDemo({ this.title, this.builder });
......@@ -147,7 +148,10 @@ class GalleryHome extends StatelessComponent {
new GallerySection(
title: 'Animation',
image: 'assets/section_animation.png',
colors: Colors.purple
colors: Colors.purple,
demos: <GalleryDemo>[
new GalleryDemo(title: 'Weathers', builder: (BuildContext context) => new WeathersDemo())
]
),
new GallerySection(
title: 'Style',
......
......@@ -4,3 +4,6 @@ dependencies:
flutter:
path: ../../packages/flutter
flutter_sprites:
path: ../../packages/flutter_sprites
flutter_gallery_assets: '0.0.2'
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