mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 09:57:54 +00:00
33 lines
984 B
Dart
33 lines
984 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/curtains/blinds_blades.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart';
|
|
|
|
class BlindsView extends StatelessWidget {
|
|
const BlindsView({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return BlocProvider(
|
|
create: (context) => DevicesCubit.getInstance(),
|
|
child: BlocBuilder<DevicesCubit, DevicesState>(
|
|
builder: (context, state) {
|
|
return const DefaultScaffold(
|
|
title: 'Blinds',
|
|
child: Column(
|
|
children: [
|
|
Spacer(),
|
|
BlindsBlades(),
|
|
// SizedBox(height: 80),
|
|
// BlindsBottons(),
|
|
Spacer(),
|
|
],
|
|
),
|
|
);
|
|
},
|
|
),
|
|
);
|
|
}
|
|
}
|