Merge pull request #748 from abarth/screen_orientation

Add SetRequestedOrientation to Activity service
This commit is contained in:
Adam Barth
2015-08-21 12:52:15 -07:00
2 changed files with 4 additions and 4 deletions

View File

@@ -135,8 +135,8 @@ class AddressBookApp extends App {
data: theme,
child: new DefaultTextStyle(
style: typography.error, // if you see this, you've forgotten to correctly configure the text style!
child: new TaskDescription(
label: 'Address Book',
child: new Title(
title: 'Address Book',
child: new Navigator(_navigationState)
)
)

View File

@@ -183,8 +183,8 @@ class MineDiggerApp extends App {
Widget build() {
// We build the board before we build the toolbar because we compute the win state during build step.
Widget board = buildBoard();
return new TaskDescription(
label: 'Mine Digger',
return new Title(
title: 'Mine Digger',
child: new Scaffold(
toolbar: buildToolBar(),
body: new Container(