CustomAnnotation constructor

CustomAnnotation({
  1. required List<MarkElement<ElementStyle>> renderer(
    1. Offset,
    2. Size
    ),
  2. List<String>? variables,
  3. List? values,
  4. Offset anchor(
    1. Size
    )?,
  5. bool? clip,
  6. int? layer,
})

Creates a custom annotation.

Implementation

CustomAnnotation({
  required this.renderer,
  List<String>? variables,
  List? values,
  Offset Function(Size)? anchor,
  bool? clip,
  int? layer,
}) : super(
        variables: variables,
        values: values,
        anchor: anchor,
        clip: clip,
        layer: layer,
      );