ElementAnnotation constructor

ElementAnnotation({
  1. List<String>? variables,
  2. List? values,
  3. Offset anchor(
    1. Size
    )?,
  4. bool? clip,
  5. int? layer,
})

Creates a element annotation.

Implementation

ElementAnnotation({
  this.variables,
  this.values,
  this.anchor,
  this.clip,
  int? layer,
})  : assert(isSingle([variables, anchor], allowNone: true)),
      assert(isSingle([values, anchor])),
      super(
        layer: layer,
      );