Add SetRequestedOrientation to Activity service

Fixes #743
This commit is contained in:
Adam Barth
2015-08-21 11:27:17 -07:00
parent 2d333f5612
commit 24a68cb445
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(