@@ -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)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user