root property Null safety

RenderContext root
override

Implementation

@override
RenderContext get root => parent == null ? this : parent!.root;