AnnotatedRegion<T extends Object> constructor
Null safety
Creates a new annotated region to insert value into the layer tree.
Neither child nor value may be null.
sized defaults to true and controls whether the annotated region will clip its child.
Implementation
const AnnotatedRegion({
super.key,
required Widget super.child,
required this.value,
this.sized = true,
}) : assert(value != null),
assert(child != null);