Remove BuildContext argument to initState

This argument isn't needed anymore now that State has a getter for context.
This commit is contained in:
Adam Barth
2015-09-30 13:15:46 -07:00
parent 01f7c8460f
commit 347bd25cb4
31 changed files with 62 additions and 70 deletions

View File

@@ -11,8 +11,8 @@ class ProgressIndicatorApp extends StatefulComponent {
}
class ProgressIndicatorAppState extends State<ProgressIndicatorApp> {
void initState(BuildContext context) {
super.initState(context);
void initState() {
super.initState();
valueAnimation = new ValueAnimation<double>()
..duration = const Duration(milliseconds: 1500)
..variable = new AnimatedValue<double>(