Skip to content

Commit

Permalink
Pretty sure the old code wouldn't have worked (#365)
Browse files Browse the repository at this point in the history
...since Null is a _Type, not a Widget.
  • Loading branch information
Hixie authored Jan 25, 2017
1 parent b4d1643 commit 214a68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class establishes connections with services.
final Random random = new Random();
void main() {
runApp(Null);
runApp(new Center(child: new Text('Random Number Generator')));
PlatformMessages.setJSONMessageHandler('getRandom', handleGetRandom);
}
Expand Down

0 comments on commit 214a68b

Please sign in to comment.