• liyuqian's avatar
    Support clipBehavior changes in hot reload (#31761) · 7cab6d5e
    liyuqian authored
    ## Description
    
    Make `_RenderCustomClip`'s `clipBehavior` non-final so we can update it during `updateRenderObject`. This will support `clipBehavior` changes in hot reload.
    
    ## Related Issues
    
    Fixes #30863
    
    ## Tests
    
    I added the following tests:
    
    * ClipRect updates clipBehavior in updateRenderObject
    * ClipRRect updates clipBehavior in updateRenderObject
    * ClipOval updates clipBehavior in updateRenderObject
    * ClipPath updates clipBehavior in updateRenderObject
    * PhysicalModel updates clipBehavior in updateRenderObject
    * PhysicalShape updates clipBehavior in updateRenderObject
    7cab6d5e
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...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS 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...