mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
54 lines
1.4 KiB
Dart
54 lines
1.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
import 'package:syncrow_app/features/devices/model/ac_model.dart';
|
|
import 'package:syncrow_app/features/devices/view/widgets/ACs/ac_mode_control_unit.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_container.dart';
|
|
|
|
import '../../../../../generated/assets.dart';
|
|
|
|
class AcInterfaceControls extends StatelessWidget {
|
|
const AcInterfaceControls({
|
|
super.key,
|
|
required this.acModel,
|
|
});
|
|
|
|
final ACModel acModel;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
children: [
|
|
ACModeControlUnit(model: acModel),
|
|
const SizedBox(height: 10),
|
|
Row(
|
|
children: [
|
|
Flexible(
|
|
child: InkWell(
|
|
onTap: () {},
|
|
child: DefaultContainer(
|
|
height: 55,
|
|
child: Center(
|
|
child: SvgPicture.asset(Assets.iconsAutomatedClock),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
const SizedBox(width: 10),
|
|
Flexible(
|
|
child: InkWell(
|
|
onTap: () {},
|
|
child: DefaultContainer(
|
|
height: 55,
|
|
child: Center(
|
|
child: SvgPicture.asset(Assets.iconsLock),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
)
|
|
],
|
|
);
|
|
}
|
|
}
|