Commit 5460e944 authored by Adam Barth's avatar Adam Barth

Add docs to Element.performRebuild (#3667)

parent f161f239
......@@ -1411,7 +1411,13 @@ abstract class BuildableElement extends Element {
assert(!_dirty);
}
/// Called by rebuild() after the appropriate checks have been made.
/// Called by [rebuild] after [rebuild] has checked that this element indeed
/// needs to build and is still active.
///
/// This function is called if this element is marked as needing to be built
/// (see [markNeedsBuild]). For example, if [State.setState] is called on its
/// associated [State] object or if this element depends on an
/// [InheritedElement] that has itself changed.
void performRebuild();
@override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment