Revert "Dispose render objects when owning element is unmounted. (#82883)" (#83790)

This reverts commit c75edc268c.
This commit is contained in:
Ren You
2021-06-02 07:54:19 -07:00
committed by GitHub
parent c75edc268c
commit 63c49c3d83
12 changed files with 12 additions and 240 deletions

View File

@@ -455,6 +455,7 @@ class RenderSectorSlice extends RenderSectorWithChildren {
}
class RenderBoxToRenderSectorAdapter extends RenderBox with RenderObjectWithChildMixin<RenderSector> {
RenderBoxToRenderSectorAdapter({ double innerRadius = 0.0, RenderSector? child })
: _innerRadius = innerRadius {
this.child = child;
@@ -566,6 +567,7 @@ class RenderBoxToRenderSectorAdapter extends RenderBox with RenderObjectWithChil
result.add(BoxHitTestEntry(this, position));
return true;
}
}
class RenderSolidColor extends RenderDecoratedSector {