TypedInteraction<T extends TypedFeaturesetFeature<FeaturesetDescriptor>> class base

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

Inheritance
Implementers

Constructors

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

Properties

action ↔ OnInteraction<T>
getter/setter pair
featureFactory → T Function(FeaturesetFeature)
Constructs a typed feature from a raw FeaturesetFeature.
final
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 kind of gesture this interaction listens for.
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

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