TypedInteraction<T extends TypedFeaturesetFeature<FeaturesetDescriptor>> class final

An _Interaction with an action that has a typed FeaturesetFeature as input.

Implementers

Constructors

TypedInteraction.new({FeaturesetDescriptor? featuresetDescriptor, String? filter, double? radius, bool stopPropagation = true, required OnInteraction<T> action, required dynamic interactionType})

Properties

action OnInteraction<T>
getter/setter pair
featuresetDescriptor FeaturesetDescriptor?
The featureset descriptor that specifies the featureset to be included in the interaction.
getter/setter pairinherited
filter String?
An optional filter of features that should trigger the interaction.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
interactionType ↔ _InteractionType
The type of interaction, either tap or longTap
getter/setter pairinherited
radius double?
Radius of a tappable area
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopPropagation bool
Whether to stop the propagation of the interaction to the map. Defaults to true.
getter/setter pairinherited

Methods

encode() Object
inherited
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