mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 19:07:56 +00:00
84 lines
2.7 KiB
Dart
84 lines
2.7 KiB
Dart
// import 'package:flutter/material.dart';
|
|
// import 'package:syncrow_app/features/devices/bloc/devices_cubit.dart';
|
|
// import 'package:syncrow_app/generated/assets.dart';
|
|
|
|
// class BlindsBottons extends StatelessWidget {
|
|
// const BlindsBottons({
|
|
// super.key,
|
|
// });
|
|
|
|
// @override
|
|
// Widget build(BuildContext context) {
|
|
// return Row(
|
|
// mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
|
// children: [
|
|
// DecoratedBox(
|
|
// decoration: BoxDecoration(shape: BoxShape.circle, boxShadow: [
|
|
// BoxShadow(
|
|
// color: Colors.grey.withOpacity(0.5),
|
|
// spreadRadius: 1,
|
|
// blurRadius: 5,
|
|
// offset: const Offset(3, 3),
|
|
// ),
|
|
// ]),
|
|
// child: InkWell(
|
|
// overlayColor: MaterialStateProperty.all(Colors.transparent),
|
|
// onTap: () {
|
|
// // DevicesCubit.get(context).setHight(false);
|
|
// DevicesCubit.get(context).closeCurtain();
|
|
// },
|
|
// child: Image.asset(
|
|
// Assets.imagesUp,
|
|
// width: 60,
|
|
// height: 60,
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// DecoratedBox(
|
|
// decoration: BoxDecoration(shape: BoxShape.circle, boxShadow: [
|
|
// BoxShadow(
|
|
// color: Colors.grey.withOpacity(0.5),
|
|
// spreadRadius: 1,
|
|
// blurRadius: 5,
|
|
// offset: const Offset(3, 3),
|
|
// ),
|
|
// ]),
|
|
// child: InkWell(
|
|
// overlayColor: MaterialStateProperty.all(Colors.transparent),
|
|
// onTap: () {
|
|
// // DevicesCubit.get(context).setHight(false);
|
|
// },
|
|
// child: Image.asset(
|
|
// Assets.imagesPause,
|
|
// width: 60,
|
|
// height: 60,
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// DecoratedBox(
|
|
// decoration: BoxDecoration(shape: BoxShape.circle, boxShadow: [
|
|
// BoxShadow(
|
|
// color: Colors.grey.withOpacity(0.5),
|
|
// spreadRadius: 1,
|
|
// blurRadius: 5,
|
|
// offset: const Offset(3, 3),
|
|
// ),
|
|
// ]),
|
|
// child: InkWell(
|
|
// overlayColor: MaterialStateProperty.all(Colors.transparent),
|
|
// onTap: () {
|
|
// // DevicesCubit.get(context).setHight(true);
|
|
// DevicesCubit.get(context).openCurtain();
|
|
// },
|
|
// child: Image.asset(
|
|
// Assets.imagesDown,
|
|
// width: 60,
|
|
// height: 60,
|
|
// ),
|
|
// ),
|
|
// ),
|
|
// ],
|
|
// );
|
|
// }
|
|
// }
|