fix typo in State.didUpdateWidget dartdoc (#11863)
* fix typo in State.didUpdateWidget * rephrase
This commit is contained in:
parent
b682b78105
commit
76f245156c
@ -1048,11 +1048,11 @@ abstract class State<T extends StatefulWidget> extends Diagnosticable {
|
|||||||
/// If the parent widget rebuilds and request that this location in the tree
|
/// If the parent widget rebuilds and request that this location in the tree
|
||||||
/// update to display a new widget with the same [runtimeType] and
|
/// update to display a new widget with the same [runtimeType] and
|
||||||
/// [Widget.key], the framework will update the [widget] property of this
|
/// [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.
|
/// with the previous widget as an argument.
|
||||||
///
|
///
|
||||||
/// Override this method to respond to changes in the [widget] widget (e.g.,
|
/// Override this method to respond when the [widget] changes (e.g., to start
|
||||||
/// to start implicit animations).
|
/// implicit animations).
|
||||||
///
|
///
|
||||||
/// The framework always calls [build] after calling [didUpdateWidget], which
|
/// The framework always calls [build] after calling [didUpdateWidget], which
|
||||||
/// means any calls to [setState] in [didUpdateWidget] are redundant.
|
/// means any calls to [setState] in [didUpdateWidget] are redundant.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user