mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-17 10:35:10 +00:00
Removed location from models
Added the spaces models Added the rooms models Added the Spaces cubit Implemented the home dropdown functionality
This commit is contained in:
19
lib/features/app_layout/bloc/spaces_state.dart
Normal file
19
lib/features/app_layout/bloc/spaces_state.dart
Normal file
@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user