• Greg Price's avatar
    Make AbstractNode-derived docs more specific on RenderObject et al. (#130689) · 1937ae65
    Greg Price authored
    These methods and/or their docs were recently copied (in #128467 and #128973) from their classes' former shared base class AbstractNode. Their wording was fittingly abstract there, but that abstraction is a bit puzzling for a reader finding them on these more concrete classes and not aware of the AbstractNode history.  So make them more concrete, in similar terms to the other methods around them.
    
    Also copy some useful points between corresponding methods on different classes (like that the parent of the root is null), and try to clean up the prose on [RenderObject.depth].
    
    We focus on the more outward-facing parts of the API, letting methods like `redepthChildren` continue to talk generically about "nodes".
    1937ae65
object.dart 201 KB