RegionAnnotation constructor
RegionAnnotation({})
Creates a region annotation.
Implementation
RegionAnnotation({
this.dim,
this.variable,
required this.values,
this.color,
this.gradient,
int? layer,
}) : assert(isSingle([color, gradient])),
super(
layer: layer,
);