提交 27936d25 编写于 作者: C Carlos Pizano

sky home update

-replace UINode for Widget
-add the minedigger demo
-fix spelling of astroids

BUG=none
R=eseidel@chromium.org, ianh@google.com

Review URL: https://codereview.chromium.org/1203923006.
上级 a2ba25d0
......@@ -37,7 +37,7 @@ class SkyDemo extends Component {
launch(href);
}
UINode build() {
Widget build() {
return new ConstrainedBox(
// TOOD(ianh): Fix so we don't need INFINITY here.
constraints: new BoxConstraints.tightFor(width: double.INFINITY),
......@@ -50,13 +50,14 @@ class SkyDemo extends Component {
}
class SkyHome extends App {
UINode build() {
List<UINode> children = [
Widget build() {
List<Widget> children = [
new SkyDemo('Stocks App', 'examples/stocks2/lib/stock_app.dart'),
new SkyDemo('Astroids Game', 'examples/game/main.dart'),
new SkyDemo('Asteroids Game', 'examples/game/main.dart'),
new SkyDemo('Interactive Flex', 'examples/rendering/interactive_flex.dart'),
new SkyDemo('Sector Layout', 'examples/widgets/sector.dart'),
new SkyDemo('Touch Demo', 'examples/rendering/touch_demo.dart'),
new SkyDemo('Minedigger Game', 'examples/mine_digger/mine_digger.dart'),
// TODO(eseidel): We could use to separate these groups?
new SkyDemo('Old Stocks App', 'examples/stocks/main.sky'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册