mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Trivial improvement of AbstractNode docs. (#7399)
This confused me briefly the other day.
This commit is contained in:
parent
cd92e11f17
commit
d3faada983
@ -69,6 +69,10 @@ class AbstractNode {
|
||||
Object _owner;
|
||||
|
||||
/// Whether this node is in a tree whose root is attached to something.
|
||||
///
|
||||
/// This becomes true during the call to [attach].
|
||||
///
|
||||
/// This becomes false during the call to [detach].
|
||||
bool get attached => _owner != null;
|
||||
|
||||
/// Mark this node as attached to the given owner.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user