| Index: sky/sdk/lib/widgets/basic.dart
|
| diff --git a/sky/sdk/lib/widgets/basic.dart b/sky/sdk/lib/widgets/basic.dart
|
| index 511bd4b81ac545e47eb695fc54ba0ce47f9dd6c4..3959af38bdbeab3f6940257892229eb6750a25cd 100644
|
| --- a/sky/sdk/lib/widgets/basic.dart
|
| +++ b/sky/sdk/lib/widgets/basic.dart
|
| @@ -104,6 +104,24 @@ class ClipRect extends OneChildRenderObjectWrapper {
|
|
|
| RenderClipRect get root => super.root;
|
| RenderClipRect createNode() => new RenderClipRect();
|
| +
|
| + // Nothing to sync, so we don't implement syncRenderObject()
|
| +}
|
| +
|
| +class ClipRRect extends OneChildRenderObjectWrapper {
|
| + final double xRadius;
|
| + final double yRadius;
|
| + ClipRRect({ String key, Widget child, this.xRadius, this.yRadius })
|
| + : super(key: key, child: child);
|
| +
|
| + RenderClipRRect get root => super.root;
|
| + RenderClipRRect createNode() => new RenderClipRRect(xRadius: xRadius, yRadius: yRadius);
|
| +
|
| + void syncRenderObject(ClipRRect old) {
|
| + super.syncRenderObject(old);
|
| + root.xRadius = xRadius;
|
| + root.yRadius = yRadius;
|
| + }
|
| }
|
|
|
| class ClipOval extends OneChildRenderObjectWrapper {
|
| @@ -112,8 +130,9 @@ class ClipOval extends OneChildRenderObjectWrapper {
|
|
|
| RenderClipOval get root => super.root;
|
| RenderClipOval createNode() => new RenderClipOval();
|
| -}
|
|
|
| + // Nothing to sync, so we don't implement syncRenderObject()
|
| +}
|
|
|
| // POSITIONING AND SIZING NODES
|
|
|
| @@ -157,6 +176,8 @@ class Center extends OneChildRenderObjectWrapper {
|
|
|
| RenderPositionedBox get root => super.root;
|
| RenderPositionedBox createNode() => new RenderPositionedBox();
|
| +
|
| + // Nothing to sync, so we don't implement syncRenderObject()
|
| }
|
|
|
| class SizedBox extends OneChildRenderObjectWrapper {
|
|
|