Trivial improvement of AbstractNode docs. (#7399)
This confused me briefly the other day.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user