• Todd Volkert's avatar
    (insert|move|remove)ChildRenderObject Deprecation: Step 1 (#64189) · 21cfed34
    Todd Volkert authored
    * (insert|move|remove)ChildRenderObject Deprecation: Step 1
    
    This deprecates the following methods:
    
    * RenderObjectElement.insertChildRenderObject
    * RenderObjectElement.moveChildRenderObject
    * RenderObjectElement.removeChildRenderObject
    
    ...and replaces them with the following methods:
    
    * RenderObjectElement.insertRenderObjectChild
    * RenderObjectElement.moveRenderObjectChild
    * RenderObjectElement.removeRenderObjectChild
    
    The reason for the deprecation is to provide the `oldSlot` argument to
    the `moveRenderObjectChild` method (such an argument was missing from
    the now-deprecated `moveChildRenderObject` method) and the `slot`
    argument to the `removeRenderObjectChild` method (such an argument was
    missing from the now-deprecated `removeChildRenderObject` method). While
    no argument was added to `insertRenderObjectChild`, the name change (and
    corresponding deprecation) was made to maintain naming parity with the
    other two methods.
    
    This initial step does not update or remove any of the `slotToChild`
    patterns that exist in the framework. This work is being separated
    into two commits in case something needs to be reverted to minimize
    the scope of each commit.
    
    See https://github.com/flutter/flutter/issues/63269 for more info
    21cfed34
Name
Last commit
Last update
..
src Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...