RenderAnnotatedRegion<T extends Object> constructor
Null safety
Creates a new RenderAnnotatedRegion to insert value
into the
layer tree.
If sized
is true, the layer is provided with the size of this render
object to clip the results of Layer.find.
Neither value
nor sized
can be null.
Implementation
RenderAnnotatedRegion({
required T value,
required bool sized,
RenderBox? child,
}) : assert(value != null),
assert(sized != null),
_value = value,
_sized = sized,
super(child);