Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b35fb49

Browse files
author
Collin Jackson
committed
center the hello world text so it isn’t covered up by the status bar
1 parent 9b159fb commit b35fb49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sky/sdk/example/hello_world/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'package:sky/widgets/basic.dart';
66

77
class HelloWorldApp extends App {
88
Widget build() {
9-
return new Text('Hello, world!');
9+
return new Center(child: new Text('Hello, world!'));
1010
}
1111
}
1212

0 commit comments

Comments
 (0)