Initial commit: unionflow-mobile-apps

Application Flutter complète (sans build artifacts).

Signed-off-by: lions dev Team
This commit is contained in:
dahoud
2026-03-15 16:30:08 +00:00
commit d094d6db9c
1790 changed files with 507435 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
part of 'notifications_bloc.dart';
abstract class NotificationsState extends Equatable {
const NotificationsState();
@override
List<Object?> get props => [];
}
class NotificationsInitial extends NotificationsState {
const NotificationsInitial();
}
class NotificationsLoading extends NotificationsState {
const NotificationsLoading();
}
class NotificationsLoaded extends NotificationsState {
final List<NotificationModel> notifications;
final int nonLuesCount;
const NotificationsLoaded({
required this.notifications,
required this.nonLuesCount,
});
@override
List<Object?> get props => [notifications, nonLuesCount];
}
class NotificationMarkedAsRead extends NotificationsState {
final List<NotificationModel> notifications;
final int nonLuesCount;
const NotificationMarkedAsRead({
required this.notifications,
required this.nonLuesCount,
});
@override
List<Object?> get props => [notifications, nonLuesCount];
}
class NotificationsError extends NotificationsState {
final String message;
const NotificationsError(this.message);
@override
List<Object?> get props => [message];
}