• 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
..
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...