mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Clarify documented semantics of StatefulWidget (#12880)
This commit is contained in:
parent
7837fe6ebb
commit
b04b89ac95
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user