1import 'package:flutter/material.dart';
2import 'package:flutter_screenutil/flutter_screenutil.dart';
3import 'package:connect/core/ui/widgets/custom_card.dart';
4import 'package:connect/features/co2_emmissions/screens/widgets/step_brogress_bar.dart';
6import '../../operational_details_screen/views/operational_hours_view.dart';
12 State<TrackConsumptionTrend>
createState() => _TrackConsumptionTrendState();
15class _TrackConsumptionTrendState
extends State<TrackConsumptionTrend> {
37 Widget
build(BuildContext context) {
38 return SingleChildScrollView(
41 crossAxisAlignment: CrossAxisAlignment.start,
44 width:
double.infinity,
46 decoration: BoxDecoration(
47 color: Colors.red.withOpacity(0.11),
48 borderRadius: BorderRadius.circular(10)),
52 style: Theme.of(context)
55 ?.copyWith(
color: Colors.red),
59 SizedBox(height: 10.sp),
63 crossAxisAlignment: CrossAxisAlignment.start,
69 SizedBox(height: 10.sp),
71 'Do you actively track energy consumption trends (e.g., peak usage times)?',
72 style: Theme.of(context).textTheme.displaySmall?.copyWith(
76 SizedBox(height: 10.sp),
78 physics: NeverScrollableScrollPhysics(),
81 separatorBuilder: (context, index) => SizedBox(height: 10.sp),
82 itemBuilder: (BuildContext context,
int index) {
83 return CustomOptionButton(
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })
class EnergySavingsMeasure extends StatefulWidget options
List< String > selectedOption
void onSelect(String option)
override Widget build(BuildContext context)