mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 01:35:23 +00:00

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)
22 lines
559 B
Dart
22 lines
559 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
import 'package:syncrow_app/features/layout/bloc/layout_cubit.dart';
|
|
|
|
class LayoutPage extends StatelessWidget {
|
|
const LayoutPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return BlocProvider(
|
|
create: (context) => LayoutCubit(),
|
|
child: BlocBuilder<LayoutCubit, LayoutState>(
|
|
builder: (context, state) {
|
|
return const Center(
|
|
child: Text('Layout Page'),
|
|
);
|
|
},
|
|
),
|
|
);
|
|
}
|
|
}
|