AnnotatedRegionLayer<T extends Object> constructor
Null safety
Creates a new layer that annotates its children with value.
The value provided cannot be null.
Implementation
AnnotatedRegionLayer(
this.value, {
this.size,
Offset? offset,
this.opaque = false,
}) : assert(value != null),
assert(opaque != null),
offset = offset ?? Offset.zero;