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:
Mohammad Salameh
2024-03-06 21:34:23 +03:00
parent b99247c937
commit b3fcca639a
23 changed files with 359 additions and 138 deletions

View File

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:syncrow_app/features/app_layout/bloc/nav_cubit.dart';
import 'package:syncrow_app/features/app_layout/bloc/spaces_cubit.dart';
import 'package:syncrow_app/features/auth/bloc/auth_cubit.dart';
import 'package:syncrow_app/utils/resource_manager/color_manager.dart';
import 'package:syncrow_app/utils/resource_manager/constants.dart';
@ -29,6 +30,9 @@ class MyApp extends StatelessWidget {
BlocProvider(
create: (context) => NavCubit(),
),
BlocProvider(
create: (context) => SpacesCubit(),
),
BlocProvider(
create: (context) => DevicesCubit(),
),