11 Widget
build(BuildContext context) {
12 return SingleChildScrollView(
15 crossAxisAlignment: CrossAxisAlignment.start,
18 width:
double.infinity,
20 decoration: BoxDecoration(
21 color: Colors.red.withOpacity(0.11),
22 borderRadius: BorderRadius.circular(10)),
26 style: Theme.of(context)
29 ?.copyWith(
color: Colors.red),
33 SizedBox(height: 10.sp),
37 crossAxisAlignment: CrossAxisAlignment.start,
43 SizedBox(height: 10.sp),
45 'What is your average monthly emonthlylectricity consumption over the past 6 months (in kWh)?',
46 style: Theme.of(context).textTheme.displaySmall?.copyWith(
50 SizedBox(height: 5.sp),
52 '(If unknown, please provide the monthly usage if available):',
53 style: Theme.of(context).textTheme.displaySmall?.copyWith(
54 color: Theme.of(context).hintColor,
58 SizedBox(height: 10.sp),
61 hint:
'Liters/Month ',