Annotation constructor
const
Annotation({
- String? title,
- String? subTitle,
- MarkerIcon? icon,
- VoidCallback? onTap,
- AnnotationType annotationType = AnnotationType.destination,
Implementation
const Annotation({
this.title,
this.subTitle,
this.icon,
this.onTap,
this.annotationType = AnnotationType.destination,
});