Fix wording of app bar vs toolbar in gallery (#7720)
Reverts a change from https://github.com/flutter/flutter/pull/3158. Fixes https://github.com/flutter/flutter/issues/3161
This commit is contained in:
@@ -127,11 +127,11 @@ class ContactsDemoState extends State<ContactsDemo> {
|
||||
itemBuilder: (BuildContext context) => <PopupMenuItem<AppBarBehavior>>[
|
||||
new PopupMenuItem<AppBarBehavior>(
|
||||
value: AppBarBehavior.scroll,
|
||||
child: new Text('Toolbar scrolls away')
|
||||
child: new Text('App bar scrolls away')
|
||||
),
|
||||
new PopupMenuItem<AppBarBehavior>(
|
||||
value: AppBarBehavior.under,
|
||||
child: new Text('Toolbar stays put')
|
||||
child: new Text('App bar stays put')
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user