AnnotatedRegionLayer<T> constructor

AnnotatedRegionLayer<T>(T value, { Size size })

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);