center the hello world text so it isn’t covered up by the status bar
This commit is contained in:
@@ -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!'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user