Annotation constructor

const Annotation({
  1. Key? key,
  2. required dynamic scale,
  3. required double width,
  4. required double height,
})

Creates an annotation.

Implementation

const Annotation({
  super.key,
  required this.scale,
  required this.width,
  required this.height,
});