| Index: sky/examples/raw/sector-layout.dart
|
| diff --git a/sky/examples/raw/sector-layout.dart b/sky/examples/raw/sector-layout.dart
|
| index f296f38fce16d3d82677f9ffb9af48b192160aee..825663843c8cb1cbc492529ad7b678baf5c95842 100644
|
| --- a/sky/examples/raw/sector-layout.dart
|
| +++ b/sky/examples/raw/sector-layout.dart
|
| @@ -98,10 +98,12 @@ class RenderDecoratedSector extends RenderSector {
|
|
|
| RenderDecoratedSector(BoxDecoration decoration) : _decoration = decoration;
|
|
|
| - void setBoxDecoration(BoxDecoration decoration) {
|
| - if (_decoration == decoration)
|
| + BoxDecoration _decoration;
|
| + BoxDecoration get decoration => _decoration;
|
| + void set decoration (BoxDecoration value) {
|
| + if (value == _decoration)
|
| return;
|
| - _decoration = decoration;
|
| + _decoration = value;
|
| markNeedsPaint();
|
| }
|
|
|
|
|