Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b6dc4318
Commit
b6dc4318
authored
Nov 10, 2015
by
Florian Loitsch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #272 from floitschG/minor_doc_fixes
Minor doc fixes.
parents
d010d503
c5427fb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
object.dart
packages/flutter/lib/src/rendering/object.dart
+2
-4
No files found.
packages/flutter/lib/src/rendering/object.dart
View file @
b6dc4318
...
@@ -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 subclas
s
es 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 subclas
s
es 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment