mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 03:27:56 +00:00
23 lines
774 B
Dart
23 lines
774 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
import 'package:syncrow_app/features/devices/bloc/devices_cubit.dart';
|
|
import 'package:syncrow_app/features/devices/view/widgets/ACs/category_view_app_bar.dart';
|
|
import 'package:syncrow_app/features/devices/view/widgets/curtains/curtain_list.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart';
|
|
|
|
class CurtainView extends StatelessWidget {
|
|
const CurtainView({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return BlocBuilder<DevicesCubit, DevicesState>(
|
|
builder: (context, state) {
|
|
return const DefaultScaffold(
|
|
appBar: CategoryViewAppBar(),
|
|
child: CurtainList(),
|
|
);
|
|
},
|
|
);
|
|
}
|
|
}
|