Commit 62c1b0b2 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

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
parent 571834ea
...@@ -127,11 +127,11 @@ class ContactsDemoState extends State<ContactsDemo> { ...@@ -127,11 +127,11 @@ class ContactsDemoState extends State<ContactsDemo> {
itemBuilder: (BuildContext context) => <PopupMenuItem<AppBarBehavior>>[ itemBuilder: (BuildContext context) => <PopupMenuItem<AppBarBehavior>>[
new PopupMenuItem<AppBarBehavior>( new PopupMenuItem<AppBarBehavior>(
value: AppBarBehavior.scroll, value: AppBarBehavior.scroll,
child: new Text('Toolbar scrolls away') child: new Text('App bar scrolls away')
), ),
new PopupMenuItem<AppBarBehavior>( new PopupMenuItem<AppBarBehavior>(
value: AppBarBehavior.under, value: AppBarBehavior.under,
child: new Text('Toolbar stays put') child: new Text('App bar stays put')
) )
] ]
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment