From c5427fb9a8d8a6d68dc73251c9871a87f3076349 Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Mon, 9 Nov 2015 18:57:10 -0800 Subject: [PATCH] Minor doc fixes. --- packages/flutter/lib/src/rendering/object.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/flutter/lib/src/rendering/object.dart b/packages/flutter/lib/src/rendering/object.dart index e1c7a65468..d3f29113c6 100644 --- a/packages/flutter/lib/src/rendering/object.dart +++ b/packages/flutter/lib/src/rendering/object.dart @@ -419,8 +419,6 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget { /// relevant to itself and to any other nodes who happen to know exactly what /// the data means. The parent data is opaque to the child. /// - /// - The parent data object must inherit from [ParentData] (despite being - /// typed as `dynamic`). /// - The parent data field must not be directly set, except by calling /// [setupParentData] on the parent node. /// - The parent data can be set before the child is added to the parent, by @@ -441,7 +439,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget { child.parentData = new ParentData(); } - /// Called by subclases when they decide a render object is a child + /// Called by subclasses when they decide a render object is a child /// /// Only for use by subclasses when changing their child lists. Calling this /// in other cases will lead to an inconsistent tree and probably cause crashes. @@ -454,7 +452,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget { _markNeedsCompositingBitsUpdate(); } - /// Called by subclases when they decide a render object is no longer a child + /// Called by subclasses when they decide a render object is no longer a child /// /// Only for use by subclasses when changing their child lists. Calling this /// in other cases will lead to an inconsistent tree and probably cause crashes.