Always test semantics (#35110)

Default `semanticsEnabled` to true for `testWidgets` and fix associated bugs
This commit is contained in:
Dan Field
2019-06-28 12:40:23 -07:00
committed by GitHub
parent 97127730f2
commit 3eb40925e5
21 changed files with 107 additions and 52 deletions

View File

@@ -520,6 +520,7 @@ class RenderBoxToRenderSectorAdapter extends RenderBox with RenderObjectWithChil
void performLayout() {
if (child == null || (!constraints.hasBoundedWidth && !constraints.hasBoundedHeight)) {
size = constraints.constrain(Size.zero);
child?.layout(SectorConstraints(maxDeltaRadius: innerRadius), parentUsesSize: true);
return;
}
assert(child is RenderSector);