Commit b6dc4318 authored by Florian Loitsch's avatar Florian Loitsch

Merge pull request #272 from floitschG/minor_doc_fixes

Minor doc fixes.
parents d010d503 c5427fb9
...@@ -419,8 +419,6 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget { ...@@ -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 /// 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 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 /// - The parent data field must not be directly set, except by calling
/// [setupParentData] on the parent node. /// [setupParentData] on the parent node.
/// - The parent data can be set before the child is added to the parent, by /// - 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 { ...@@ -441,7 +439,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
child.parentData = new ParentData(); 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 /// 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. /// in other cases will lead to an inconsistent tree and probably cause crashes.
...@@ -454,7 +452,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget { ...@@ -454,7 +452,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
_markNeedsCompositingBitsUpdate(); _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 /// 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. /// in other cases will lead to an inconsistent tree and probably cause crashes.
......
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