mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 10:06:16 +00:00

Added the spaces models Added the rooms models Added the Spaces cubit Implemented the home dropdown functionality
20 lines
358 B
Dart
20 lines
358 B
Dart
part of 'spaces_cubit.dart';
|
|
|
|
abstract class SpacesState {}
|
|
|
|
class SpacesInitial extends SpacesState {}
|
|
|
|
class SpacesLoading extends SpacesState {}
|
|
|
|
class SpacesLoaded extends SpacesState {
|
|
final List<SpaceModel> spaces;
|
|
|
|
SpacesLoaded(this.spaces);
|
|
}
|
|
|
|
class SpacesSelected extends SpacesState {
|
|
final SpaceModel space;
|
|
|
|
SpacesSelected(this.space);
|
|
}
|