forked from firka/flutter
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:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user