• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.codecov.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...