AnnotationEvents class

Events related to annotation interactions

Constructors

AnnotationEvents({ValueChanged<Annotation>? onCreated, ValueChanged<Annotation>? onDeleted, ValueChanged<Annotation?>? onSelected, ValueChanged<Annotation>? onTap})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onCreated ValueChanged<Annotation>?
Called when an annotation is created
final
onDeleted ValueChanged<Annotation>?
Called when an annotation is deleted
final
onSelected ValueChanged<Annotation?>?
Called when an annotation's selection state changes Receives the selected annotation, or null if selection was cleared
final
onTap ValueChanged<Annotation>?
Called when an annotation is tapped
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ValueChanged<Annotation>? onCreated, ValueChanged<Annotation>? onDeleted, ValueChanged<Annotation?>? onSelected, ValueChanged<Annotation>? onTap}) AnnotationEvents
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited