AnnotatedRegionLayer< T> constructor
Creates a new layer annotated with value that clips to size if provided.
The value provided cannot be null.
Implementation
AnnotatedRegionLayer(this.value, {this.size}) : assert(value != null);