Index: sky/examples/raw/sector-layout.dart |
diff --git a/sky/examples/raw/sector-layout.dart b/sky/examples/raw/sector-layout.dart |
index ae8b43fdf698a6f8b35e812312abeac8f13f3ac4..c4c4627aba9248212b9e697946565b607e25a873 100644 |
--- a/sky/examples/raw/sector-layout.dart |
+++ b/sky/examples/raw/sector-layout.dart |
@@ -416,7 +416,9 @@ class RenderBoxToRenderSectorAdapter extends RenderBox { |
} else { |
assert(child is RenderSector); |
assert(!constraints.isInfinite); |
+ print("constraint maxes: ${constraints.maxWidth} and ${constraints.maxHeight}"); |
double maxChildDeltaRadius = math.min(constraints.maxWidth, constraints.maxHeight) / 2.0 - innerRadius; |
+ print("maxChildDeltaRadius = $maxChildDeltaRadius"); |
assert(child.parentData is SectorParentData); |
child.parentData.radius = innerRadius; |
child.parentData.theta = 0.0; |