aboutsummaryrefslogtreecommitdiff
path: root/plugins/aves_model/lib/src/events
diff options
context:
space:
mode:
authormirror <mirror@localhost>2026-11-22 08:41:00 +0900
committermirror <mirror@localhost>2026-11-22 08:41:00 +0900
commit449d8b74bd6d9dae98a07254cdfad677b920e7b0 (patch)
treec131c3528c4d517f56e19b854a7453fedb097d40 /plugins/aves_model/lib/src/events
downloadaves-src-master.tar.gz
aves-src-master.zip
snapshot of aves v1.13.12 (secrets removed: android/app/google-services.json)HEADv1.13.12master
Diffstat (limited to 'plugins/aves_model/lib/src/events')
-rw-r--r--plugins/aves_model/lib/src/events/actions.dart22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/aves_model/lib/src/events/actions.dart b/plugins/aves_model/lib/src/events/actions.dart
new file mode 100644
index 0000000..8a82b1e
--- /dev/null
+++ b/plugins/aves_model/lib/src/events/actions.dart
@@ -0,0 +1,22 @@
+import 'package:equatable/equatable.dart';
+import 'package:flutter/foundation.dart';
+
+@immutable
+class ActionEvent<T> extends Equatable {
+ final T action;
+
+ @override
+ List<Object?> get props => [action];
+
+ const ActionEvent(this.action);
+}
+
+@immutable
+class ActionStartedEvent<T> extends ActionEvent<T> {
+ const ActionStartedEvent(super.action);
+}
+
+@immutable
+class ActionEndedEvent<T> extends ActionEvent<T> {
+ const ActionEndedEvent(super.action);
+}