Index: sky/examples/widgets/container.dart |
diff --git a/sky/examples/fn2/container.dart b/sky/examples/widgets/container.dart |
similarity index 91% |
rename from sky/examples/fn2/container.dart |
rename to sky/examples/widgets/container.dart |
index f1eec6bbea4558b79b488c8fed36e20411c37a09..437784078ade73ed332a35772e5d65e328441091 100644 |
--- a/sky/examples/fn2/container.dart |
+++ b/sky/examples/widgets/container.dart |
@@ -3,8 +3,11 @@ |
// found in the LICENSE file. |
import 'dart:sky' as sky; |
-import 'package:sky/framework/fn2.dart'; |
+ |
import 'package:sky/framework/rendering/box.dart'; |
+import 'package:sky/framework/widgets/ui_node.dart'; |
+import 'package:sky/framework/widgets/wrappers.dart'; |
+ |
import '../lib/solid_color_box.dart'; |
class Rectangle extends RenderObjectWrapper { |
@@ -29,7 +32,7 @@ class ContainerApp extends App { |
child: new Block([ |
new Container( |
decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFFFFFF00)), |
- height: 20.0, |
+ height: 20.0 |
), |
new Image(src: "https://www.dartlang.org/logos/dart-logo.png", |
size: new sky.Size(300.0, 300.0), |