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

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

Issue 1003553002: Update Button to be made of Material (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
Index: sky/examples/widgets-fn/widgets_app.dart
diff --git a/sky/examples/input/input_app.dart b/sky/examples/widgets-fn/widgets_app.dart
similarity index 61%
copy from sky/examples/input/input_app.dart
copy to sky/examples/widgets-fn/widgets_app.dart
index 68256cfc354b5354bbb45c457acda0403f96a97b..eaaa0a58eda4db3a94d9578cc66a5759aa98ed93 100644
--- a/sky/examples/input/input_app.dart
+++ b/sky/examples/widgets-fn/widgets_app.dart
@@ -3,10 +3,10 @@
// found in the LICENSE file.
import '../../framework/fn.dart';
-import '../../framework/components/input.dart';
+import '../../framework/components/button.dart';
-class InputApp extends App {
+class WidgetsApp extends App {
Node build() {
- return new Input();
+ return new Button(content: new Text('Go'), level: 1);
}
}

Powered by Google App Engine
This is Rietveld 408576698