diff --git a/examples/fn2/hello_fn2.dart b/examples/fn2/hello_fn2.dart new file mode 100644 index 00000000000..1aeda5d2ebc --- /dev/null +++ b/examples/fn2/hello_fn2.dart @@ -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(); +} \ No newline at end of file