From fb58141dc592b4a25cfa010a4795e58bb7b0c240 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Sat, 26 Sep 2015 13:18:20 -0700 Subject: [PATCH] Port hello_world to fn3 --- examples/hello_world/lib/main.dart | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/hello_world/lib/main.dart b/examples/hello_world/lib/main.dart index c8c7acb24d..092c8b8095 100644 --- a/examples/hello_world/lib/main.dart +++ b/examples/hello_world/lib/main.dart @@ -2,14 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:sky/widgets.dart'; +import 'package:sky/src/fn3.dart'; -class HelloWorldApp extends App { - Widget build() { - return new Center(child: new Text('Hello, world!')); - } -} - -void main() { - runApp(new HelloWorldApp()); -} +void main() => runApp(new Center(child: new Text('Hello, world!')));