28 Widget
build(BuildContext context) {
29 return SingleChildScrollView(
32 crossAxisAlignment: CrossAxisAlignment.start,
35 width:
double.infinity,
37 decoration: BoxDecoration(
38 color: Colors.blue.withOpacity(0.11),
39 borderRadius: BorderRadius.circular(10),
44 style: Theme.of(context)
47 ?.copyWith(
color: Colors.blue),
51 SizedBox(height: 10.sp),
55 crossAxisAlignment: CrossAxisAlignment.start,
61 SizedBox(height: 10.sp),
63 'What Is The Primary Source Of Your Water Supply?',
64 style: Theme.of(context).textTheme.displaySmall?.copyWith(
70 style: Theme.of(context).textTheme.displaySmall?.copyWith(
71 color: Theme.of(context).hintColor,
75 SizedBox(height: 20.sp),
76 ...
options.map((option) => Padding(
77 padding:
const EdgeInsets.only(bottom: 10),
78 child: CustomOptionButton(
89 Theme.of(context).highlightColor.withOpacity(0.11),
90 controller: TextEditingController(),
92 if (
selectedSource ==
'Bottled water (for specific operations)') ...[
93 SizedBox(height: 20.sp),
96 'How Much Bottled Water Do You Use Monthly (In Liters)?',
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })