From 76f245156c5293e4cbf2bcbc337363ec599e30a9 Mon Sep 17 00:00:00 2001 From: Yegor Date: Thu, 31 Aug 2017 08:54:46 -0700 Subject: [PATCH] fix typo in State.didUpdateWidget dartdoc (#11863) * fix typo in State.didUpdateWidget * rephrase --- packages/flutter/lib/src/widgets/framework.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 4f9ace6fda..cc03775bcd 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -1048,11 +1048,11 @@ abstract class State extends Diagnosticable { /// If the parent widget rebuilds and request that this location in the tree /// update to display a new widget with the same [runtimeType] and /// [Widget.key], the framework will update the [widget] property of this - /// [State] object to refer to the new widget and then call the this method + /// [State] object to refer to the new widget and then call this method /// with the previous widget as an argument. /// - /// Override this method to respond to changes in the [widget] widget (e.g., - /// to start implicit animations). + /// Override this method to respond when the [widget] changes (e.g., to start + /// implicit animations). /// /// The framework always calls [build] after calling [didUpdateWidget], which /// means any calls to [setState] in [didUpdateWidget] are redundant.