From b04b89ac95a656d5db2c1a7d342feeee6cf6698a Mon Sep 17 00:00:00 2001 From: Mikkel Nygaard Ravn Date: Wed, 8 Nov 2017 20:39:05 +0100 Subject: [PATCH] Clarify documented semantics of StatefulWidget (#12880) --- packages/flutter/lib/src/widgets/framework.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 79b33b55260..0d5c55a6c73 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -692,7 +692,7 @@ abstract class StatelessWidget extends Widget { /// location). The [State] objects associated with [StatefulWidget] are grafted /// along with the rest of the subtree, which means the [State] object is reused /// (instead of being recreated) in the new location. However, in order to be -/// eligible for grafting, the widget might be inserted into the new location in +/// eligible for grafting, the widget must be inserted into the new location in /// the same animation frame in which it was removed from the old location. /// /// ## Performance considerations