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

Unified Diff: sky/examples/widgets-fn/widgets_app.dart

Issue 1005393006: Clean up examples directory (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/examples/widgets-fn/main.sky ('k') | sky/examples/widgets/main.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets-fn/widgets_app.dart
diff --git a/sky/examples/widgets-fn/widgets_app.dart b/sky/examples/widgets-fn/widgets_app.dart
deleted file mode 100644
index 6c30434ebbd6bce0da008237d2db844ec3015f6e..0000000000000000000000000000000000000000
--- a/sky/examples/widgets-fn/widgets_app.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-import 'package:sky/framework/fn.dart';
-import 'package:sky/framework/components/button.dart';
-import 'package:sky/framework/components/popup_menu.dart';
-
-class WidgetsApp extends App {
- static final Style _menuStyle = new Style('''
- position: absolute;
- top: 200px;
- left: 200px;''');
-
- Node build() {
- return new Container(
- children: [
- new Button(key: 'Go', content: new Text('Go'), level: 1),
- new Button(key: 'Back', content: new Text('Back'), level: 3),
- new Container(
- style: _menuStyle,
- children: [
- new PopupMenu(
- items: [
- [new Text('People & options')],
- [new Text('New group conversation')],
- [new Text('Turn history off')],
- [new Text('Archive')],
- [new Text('Delete')],
- [new Text('Un-merge SMS')],
- [new Text('Help & feeback')],
- ],
- level: 4),
- ]
- )
- ]
- );
- }
-}
« no previous file with comments | « sky/examples/widgets-fn/main.sky ('k') | sky/examples/widgets/main.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698