AC devices page implemented

AC Cubit Add
New Devices Cubit Arch will be used
Devices Cubit (for devices categories, and devices page)
{
AC cubit,
Lights cubit.
... }
Replaced AssetsManager with Assets Class (auto generated)
This commit is contained in:
Mohammad Salameh
2024-02-26 15:55:22 +03:00
parent c95a9c7817
commit abe7072f2d
72 changed files with 1535 additions and 634 deletions

View File

@ -8,13 +8,14 @@ class LayoutPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return BlocProvider(
create: (context) => LayoutCubit(),
child: BlocBuilder<LayoutCubit, LayoutState>(
builder: (context, state) {
return const Center(
child: Text('Layout Page'),
);
},
));
create: (context) => LayoutCubit(),
child: BlocBuilder<LayoutCubit, LayoutState>(
builder: (context, state) {
return const Center(
child: Text('Layout Page'),
);
},
),
);
}
}