1import 'package:connect/core/constants/app_values.dart';
2import 'package:connect/core/ui/widgets/custom_card.dart';
3import 'package:connect/features/co2_emmissions/screens/energy/energy_screen.dart';
4import 'package:connect/features/co2_emmissions/screens/widgets/step_brogress_bar.dart';
5import 'package:flutter/material.dart';
6import 'package:flutter_screenutil/flutter_screenutil.dart';
12 Widget
build(BuildContext context) {
13 return SingleChildScrollView(
16 crossAxisAlignment: CrossAxisAlignment.start,
19 width:
double.infinity,
21 decoration: BoxDecoration(
22 color: Colors.green.withOpacity(0.11),
23 borderRadius: BorderRadius.circular(10)),
27 style: Theme.of(context)
30 ?.copyWith(
color: Colors.green),
34 SizedBox(height: 10.sp),
38 crossAxisAlignment: CrossAxisAlignment.start,
44 SizedBox(height: 10.sp),
46 'What is the average portion size per meal (in kg)?',
47 style: Theme.of(context).textTheme.displaySmall?.copyWith(
51 SizedBox(height: 5.sp),
53 '(Estimate if exact data is unavailable)',
54 style: Theme.of(context).textTheme.displaySmall?.copyWith(
55 color: Theme.of(context).hintColor,
59 SizedBox(height: 10.sp),
61 label:
'Protein (meat, chicken, fish):',
69 label:
'Carbohydrates (rice, bread, pasta):',
72 SizedBox(height: 10.sp),
74 'Provide the approximate monthly usage (in kg) of the following food categories:',
75 style: Theme.of(context).textTheme.displaySmall?.copyWith(
79 SizedBox(height: 20.sp),
81 label:
'Red meat (e.g., beef, lamb):',
85 label:
'Poultry (e.g., chicken, turkey):',
89 label:
'Carbohydrates (rice, bread, pasta):',
92 SizedBox(height: 10.sp),
94 'Provide the approximate monthly usage (in kg) of the following food categories:',
95 style: Theme.of(context).textTheme.displaySmall?.copyWith(
99 SizedBox(height: 20.sp),
101 label:
'Red meat (e.g., beef, lamb): ',
105 label:
'Poultry (e.g., chicken, turkey): ',
109 label:
'Fish/seafood: ',
113 label:
'Dairy (e.g., milk, cheese, yogurt): ',
117 label:
'Vegetables: ',
static const String measureentUnit