41 Widget
build(BuildContext context) {
42 return SingleChildScrollView(
45 crossAxisAlignment: CrossAxisAlignment.start,
48 width:
double.infinity,
50 decoration: BoxDecoration(
51 color: Colors.red.withOpacity(0.11),
52 borderRadius: BorderRadius.circular(10)),
56 style: Theme.of(context)
59 ?.copyWith(
color: Colors.red),
63 SizedBox(height: 10.sp),
67 crossAxisAlignment: CrossAxisAlignment.start,
73 SizedBox(height: 10.sp),
75 'What is the source of your electricity?',
76 style: Theme.of(context).textTheme.displaySmall?.copyWith(
80 SizedBox(height: 5.sp),
82 '(Select all that apply):',
83 style: Theme.of(context).textTheme.displaySmall?.copyWith(
84 color: Theme.of(context).hintColor,
88 SizedBox(height: 10.sp),
90 physics: NeverScrollableScrollPhysics(),
93 separatorBuilder: (context, index) => SizedBox(height: 10.sp),
94 itemBuilder: (BuildContext context,
int index) {
95 return CustomOptionButton(
104 SizedBox(height: 10.sp),
108 fillColor: Theme.of(context).highlightColor.withOpacity(0.11),
109 controller: TextEditingController(),
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })