We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac121a commit ee8ab08Copy full SHA for ee8ab08
lib/src/util/safe_render_manager/safe_render_manager.dart
@@ -60,6 +60,10 @@ class SafeRenderManager extends Disposable {
60
/// this may not be populated until later than expected.
61
dynamic get contentRef => _contentRefObject.current;
62
63
+ // This setter only exists for backwards compatibility purposes.
64
+ @Deprecated('This ref should only be read, since it gets set by the rendered content')
65
+ set contentRef(dynamic value) => _contentRefObject.current = value;
66
+
67
_RenderState _state = _RenderState.unmounted;
68
69
/// A list of [render] calls queued up while the component is in the process
0 commit comments