mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 20:04:55 +00:00
Refactor code structure and update dependencies
Clean up code structure, remove unused imports, and update dependencies. No functional changes made, only code organization improvements.
This commit is contained in:
@ -5,6 +5,7 @@ import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:syncrow_app/features/app_layout/model/space_model.dart';
|
||||
import 'package:syncrow_app/features/app_layout/view/widgets/app_bar_home_dropdown.dart';
|
||||
import 'package:syncrow_app/features/dashboard/view/dashboard_view.dart';
|
||||
import 'package:syncrow_app/features/devices/bloc/devices_cubit.dart';
|
||||
import 'package:syncrow_app/features/devices/model/room_model.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/devices_view_body.dart';
|
||||
import 'package:syncrow_app/features/menu/view/menu_view.dart';
|
||||
@ -260,7 +261,10 @@ class HomeCubit extends Cubit<HomeState> {
|
||||
final List<Widget> pages = [
|
||||
const DashboardView(),
|
||||
// const LayoutPage(),
|
||||
const DevicesViewBody(),
|
||||
BlocProvider(
|
||||
create: (context) => DevicesCubit(),
|
||||
child: const DevicesViewBody(),
|
||||
),
|
||||
const SceneView(),
|
||||
const MenuView(),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user