42 Widget
build(BuildContext context) {
43 return SingleChildScrollView(
46 crossAxisAlignment: CrossAxisAlignment.start,
49 width:
double.infinity,
51 decoration: BoxDecoration(
52 color: Colors.red.withOpacity(0.11),
53 borderRadius: BorderRadius.circular(10)),
57 style: Theme.of(context)
60 ?.copyWith(
color: Colors.red),
64 SizedBox(height: 10.sp),
68 crossAxisAlignment: CrossAxisAlignment.start,
74 SizedBox(height: 10.sp),
76 'What energy-saving measures have you implemented?',
77 style: Theme.of(context).textTheme.displaySmall?.copyWith(
81 SizedBox(height: 5.sp),
83 '(Select all that apply):',
84 style: Theme.of(context).textTheme.displaySmall?.copyWith(
85 color: Theme.of(context).hintColor,
89 SizedBox(height: 10.sp),
91 physics: NeverScrollableScrollPhysics(),
94 separatorBuilder: (context, index) => SizedBox(height: 10.sp),
95 itemBuilder: (BuildContext context,
int index) {
96 return CustomOptionButton(
105 SizedBox(height: 10.sp),
109 fillColor: Theme.of(context).highlightColor.withOpacity(0.11),
110 controller: TextEditingController(),
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })