ConsonaFeedbackPlugin class
- Inheritance
-
- Object
- ConsonaPlugin
- ConsonaFeedbackPlugin
Constructors
- ConsonaFeedbackPlugin({FeedbackConfig config = const FeedbackConfig(), SoundPlayer? player})
Properties
- config → FeedbackConfig
-
final
-
dependsOn
→ Set<
String> -
IDs of plugins that must attach before this plugin can attach.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier, e.g. 'consona.feedback', 'consona.assets'.
no setteroverride
- player → SoundPlayer?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAttach(
ConsonaRegistry registry) → void -
Called when the plugin is attached to the registry.
override
-
onDetach(
) → void -
Called when the plugin is detached (runs in reverse order).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited