Rename State.config to widget everywhere (#9273)

Rename State.config to State.widget
Rename State.didUpdateConfig to State.didUpdateWidget
Renamed all State subclasses' local variables named config to something else
This commit is contained in:
xster
2017-04-10 18:32:24 -07:00
committed by GitHub
parent a5593b1678
commit 89a7fdfc56
111 changed files with 1154 additions and 1140 deletions

View File

@@ -97,7 +97,7 @@ class _MyHomePageState extends State<MyHomePage> {
// Here we take the value from the MyHomePage object that
// was created by the App.build method, and use it to set
// our appbar title.
title: new Text(config.title),
title: new Text(widget.title),
),
body: new Center(
{{#withPluginHook}}