- Config Spec-Kit pour Spec-Driven Development - CONSTITUTION.md + .specify/memory/constitution.md - Commandes Cursor /speckit.*, règles projet - Mission: associations + mutuelles d'épargne et de financement - .gitignore: versionner config spec-kit unionflow Made-with: Cursor
40 lines
813 B
Dart
40 lines
813 B
Dart
part of 'dashboard_bloc.dart';
|
|
|
|
abstract class DashboardState extends Equatable {
|
|
const DashboardState();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class DashboardInitial extends DashboardState {}
|
|
|
|
class DashboardLoading extends DashboardState {}
|
|
|
|
class DashboardLoaded extends DashboardState {
|
|
final DashboardEntity dashboardData;
|
|
|
|
const DashboardLoaded(this.dashboardData);
|
|
|
|
@override
|
|
List<Object> get props => [dashboardData];
|
|
}
|
|
|
|
class DashboardRefreshing extends DashboardState {
|
|
final DashboardEntity dashboardData;
|
|
|
|
const DashboardRefreshing(this.dashboardData);
|
|
|
|
@override
|
|
List<Object> get props => [dashboardData];
|
|
}
|
|
|
|
class DashboardError extends DashboardState {
|
|
final String message;
|
|
|
|
const DashboardError(this.message);
|
|
|
|
@override
|
|
List<Object> get props => [message];
|
|
}
|