提交 33a1391d 编写于 作者: C Collin Jackson

Merge pull request #14 from collinjackson/center_hello_world

Center the hello world text so it isn’t covered up by the status bar

R=hixie
......@@ -6,7 +6,7 @@ import 'package:sky/widgets/basic.dart';
class HelloWorldApp extends App {
Widget build() {
return new Text('Hello, world!');
return new Center(child: new Text('Hello, world!'));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册