From d3faada983d4ebf2610384f3453f42d0c4d44bc2 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Mon, 9 Jan 2017 16:33:40 -0800 Subject: [PATCH] Trivial improvement of AbstractNode docs. (#7399) This confused me briefly the other day. --- packages/flutter/lib/src/rendering/node.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/flutter/lib/src/rendering/node.dart b/packages/flutter/lib/src/rendering/node.dart index 18e07f93584..caaa8261103 100644 --- a/packages/flutter/lib/src/rendering/node.dart +++ b/packages/flutter/lib/src/rendering/node.dart @@ -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.