1import 'package:connect/core/ui/widgets/custom_card.dart';
2import 'package:connect/features/co2_emmissions/screens/widgets/step_brogress_bar.dart';
3import 'package:flutter/material.dart';
4import 'package:flutter_screenutil/flutter_screenutil.dart';
5import 'package:hugeicons/hugeicons.dart';
11 State<OpertaionalDaysView>
createState() => _OpertaionalDaysViewState();
14class _OpertaionalDaysViewState
extends State<OpertaionalDaysView> {
36 Widget
build(BuildContext context) {
37 return SingleChildScrollView(
40 crossAxisAlignment: CrossAxisAlignment.start,
43 width:
double.infinity,
45 decoration: BoxDecoration(
46 color: Colors.blue.withOpacity(0.11),
47 borderRadius: BorderRadius.circular(10)),
50 'Operational Details',
51 style: Theme.of(context)
54 ?.copyWith(
color: Colors.blue),
58 SizedBox(height: 10.sp),
62 crossAxisAlignment: CrossAxisAlignment.start,
68 SizedBox(height: 10.sp),
70 'How many operational days per month?',
71 style: Theme.of(context).textTheme.displaySmall?.copyWith(
75 SizedBox(height: 20.sp),
78 physics: NeverScrollableScrollPhysics(),
80 separatorBuilder: (context, index) => SizedBox(height: 10.sp),
81 itemBuilder: (BuildContext context,
int index) {
82 return CustomOptionButton(
113 Widget
build(BuildContext context) {
114 return ElevatedButton(
115 style: ElevatedButton.styleFrom(
117 ? Theme.of(context).colorScheme.primary.withOpacity(0.11)
118 : Theme.of(context).colorScheme.surface,
119 padding: EdgeInsets.all(15.sp),
127 decoration: BoxDecoration(
129 ? Theme.of(context).colorScheme.primary.withOpacity(0.11)
130 : Theme.of(context).colorScheme.surface,
131 shape: BoxShape.circle,
135 ? Theme.of(context).colorScheme.primary
136 : Theme.of(context).hintColor,
140 HugeIcons.strokeRoundedCheckmarkBadge04,
143 ? Theme.of(context).colorScheme.primary
144 : Theme.of(context).colorScheme.surface,
147 SizedBox(width: 10.sp),
151 style: Theme.of(context).textTheme.bodySmall?.copyWith(
153 ? Theme.of(context).colorScheme.primary
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })
final Color backgroundColor
class EnergySavingsMeasure extends StatefulWidget options
List< String > selectedOption
void onSelect(String option)
override Widget build(BuildContext context)