| Index: sky/sdk/lib/widgets/widget.dart
|
| diff --git a/sky/sdk/lib/widgets/widget.dart b/sky/sdk/lib/widgets/widget.dart
|
| index 09dd8b10e8dc1cc6abc4188b7c9a76cb3d88a31f..4c8a022dfa5ad3cb9a8e89650e4bfd029ba95db4 100644
|
| --- a/sky/sdk/lib/widgets/widget.dart
|
| +++ b/sky/sdk/lib/widgets/widget.dart
|
| @@ -223,7 +223,7 @@ class ParentDataNode extends TagNode {
|
|
|
| abstract class _Heir implements Widget {
|
| Map<Type, Inherited> _traits;
|
| - Inherited inheritedOfType(Type type) => _traits[type];
|
| + Inherited inheritedOfType(Type type) => _traits == null ? null : _traits[type];
|
|
|
| static _Heir _getHeirAncestor(Widget widget) {
|
| Widget ancestor = widget;
|
|
|