Add hello_fn2.dart and make Text("Hello fn2") actually render something.

R=ianh@google.com

Review URL: https://codereview.chromium.org/1160843005
This commit is contained in:
Eric Seidel 2015-05-28 13:56:36 -07:00
parent 10901fabad
commit db50ce1659

View File

@ -0,0 +1,15 @@
// 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/fn2.dart';
class HelloWorldApp extends App {
UINode build() {
return new Text('Hello, fn2!');
}
}
void main() {
new HelloWorldApp();
}