Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: sky/sdk/example/demo_launcher/lib/main.dart

Issue 1232103006: Add Cards and Fitness demos, remove sector. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add TaskDescriptions to the new demos Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/sdk/example/fitness/lib/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/demo_launcher/lib/main.dart
diff --git a/sky/sdk/example/demo_launcher/lib/main.dart b/sky/sdk/example/demo_launcher/lib/main.dart
index 70d70a796b356c006af198b5a68d353dc2013c13..c8cfed8c81db640caca1b55b5dd4aca3a45e8020 100644
--- a/sky/sdk/example/demo_launcher/lib/main.dart
+++ b/sky/sdk/example/demo_launcher/lib/main.dart
@@ -90,27 +90,33 @@ List<SkyDemo> demos = [
)
),
new SkyDemo(
- name: 'Interactive Flex',
- href: '../../rendering/interactive_flex.dart',
- bundle: 'interactive_flex.skyx',
- description: 'Swipe to adjust the layout of the app',
+ name: 'Fitness',
+ href: '../../fitness/lib/main.dart',
+ bundle: 'fitness.skyx',
+ description: 'Collin should write a nice description',
textTheme: typography.white,
decoration: new BoxDecoration(
backgroundColor: const Color(0xFF0081C6)
)
),
new SkyDemo(
- name: 'Sector',
- href: '../../widgets/sector.dart',
- bundle: 'sector.skyx',
- description: 'Demo of alternative layouts',
- textTheme: typography.black,
+ name: 'Cards',
+ href: '../../widgets/card_collection.dart',
+ bundle: 'cards.skyx',
+ description: 'Demo of interactive Cards',
+ textTheme: typography.white,
decoration: new BoxDecoration(
- backgroundColor: colors.black,
- backgroundImage: new BackgroundImage(
- image: _bundle.loadImage('assets/sector_thumbnail.png'),
- fit: BackgroundFit.cover
- )
+ backgroundColor: const Color(0xFF0081C6)
+ )
+ ),
+ new SkyDemo(
+ name: 'Interactive Text',
+ href: '../../rendering/interactive_flex.dart',
+ bundle: 'interactive_flex.skyx',
+ description: 'Swipe to reflow the app',
+ textTheme: typography.white,
+ decoration: new BoxDecoration(
+ backgroundColor: const Color(0xFF0081C6)
)
),
// new SkyDemo(
@@ -178,7 +184,7 @@ class SkyHome extends App {
Widget build() {
return new Theme(
data: new ThemeData(
- brightness: ThemeBrightness.dark,
+ brightness: ThemeBrightness.light,
primarySwatch: colors.Teal
),
child: new TaskDescription(
« no previous file with comments | « no previous file | sky/sdk/example/fitness/lib/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698