[rename fixit] ToolBar -> AppBar

* left -> leading (Removes an LTR bias)
* center -> title (Widget was actually centered)
* right -> actions (Removes an LTR bias, asymmetric with leading)

Fixes #2348
This commit is contained in:
Adam Barth
2016-03-12 17:22:40 -08:00
parent e48c822ce3
commit ede5dfce30
52 changed files with 170 additions and 170 deletions

View File

@@ -31,7 +31,7 @@ void main() {
title: "Markdown Demo",
routes: <String, WidgetBuilder>{
'/': (BuildContext context) => new Scaffold(
toolBar: new ToolBar(center: new Text("Markdown Demo")),
appBar: new AppBar(title: new Text("Markdown Demo")),
body: new Markdown(data: _kMarkdownData)
)
}