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,54 @@
part of 'solidarity_bloc.dart';
abstract class SolidarityEvent extends Equatable {
const SolidarityEvent();
@override
List<Object?> get props => [];
}
class LoadDemandesAide extends SolidarityEvent {
final int page;
final int size;
const LoadDemandesAide({this.page = 0, this.size = 20});
@override
List<Object?> get props => [page, size];
}
class LoadDemandeAideById extends SolidarityEvent {
final String id;
const LoadDemandeAideById(this.id);
@override
List<Object?> get props => [id];
}
class SearchDemandesAide extends SolidarityEvent {
final String? statut;
final String? type;
final int page;
final int size;
const SearchDemandesAide({this.statut, this.type, this.page = 0, this.size = 20});
@override
List<Object?> get props => [statut, type, page, size];
}
class CreateDemandeAide extends SolidarityEvent {
final DemandeAideModel demande;
const CreateDemandeAide(this.demande);
@override
List<Object?> get props => [demande];
}
class ApprouverDemandeAide extends SolidarityEvent {
final String id;
const ApprouverDemandeAide(this.id);
@override
List<Object?> get props => [id];
}
class RejeterDemandeAide extends SolidarityEvent {
final String id;
final String? motif;
const RejeterDemandeAide(this.id, {this.motif});
@override
List<Object?> get props => [id, motif];
}