contentRef property

dynamic contentRef

The ref to the component rendered by render.

Due to react_dom.render calls not being guaranteed to be synchronous. this may not be populated until later than expected.

Implementation

dynamic get contentRef => _contentRefObject.current;
  1. @Deprecated('This ref should only be read, since it gets set by the rendered content')
void contentRef=(dynamic value)

Implementation

@Deprecated('This ref should only be read, since it gets set by the rendered content')
set contentRef(dynamic value) => _contentRefObject.current = value;