1import 'package:flutter/material.dart';
2import 'package:flutter_screenutil/flutter_screenutil.dart';
3import '../../operational_details_screen/views/operational_hours_view.dart';
4import '../../widgets/step_brogress_bar.dart';
5import '/core/ui/widgets/custom_card.dart';
6import '/core/ui/widgets/custom_text_form_field.dart';
13 _WasteReductionInitiativesViewState();
16class _WasteReductionInitiativesViewState
17 extends State<WasteReductionInitiativesView> {
19 'Smaller portion sizes to minimize plate waste',
20 'Food donation programs for unsold food',
21 'Replacing single-use packaging with reusable/biodegradable materials',
22 'Training staff on waste reduction practices',
38 Widget
build(BuildContext context) {
39 return SingleChildScrollView(
42 crossAxisAlignment: CrossAxisAlignment.start,
45 width:
double.infinity,
47 decoration: BoxDecoration(
48 color: Colors.orange.withOpacity(0.11),
49 borderRadius: BorderRadius.circular(10),
54 style: Theme.of(context)
57 ?.copyWith(
color: Colors.orange),
61 SizedBox(height: 10.sp),
65 crossAxisAlignment: CrossAxisAlignment.start,
71 SizedBox(height: 10.sp),
73 'Have You Implemented Initiatives To Reduce Waste Generation?',
74 style: Theme.of(context).textTheme.displaySmall?.copyWith(
79 '(Select All That Apply)',
80 style: Theme.of(context).textTheme.displaySmall?.copyWith(
82 fontStyle: FontStyle.italic,
85 SizedBox(height: 15.sp),
86 ...
options.map((option) => Padding(
87 padding: EdgeInsets.only(bottom: 10.sp),
88 child: CustomOptionButton(
97 fillColor: Theme.of(context).highlightColor.withOpacity(0.11),
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })
void _onSelect(String option)
class EnergySavingsMeasure extends StatefulWidget options
override Widget build(BuildContext context)
final Set< String > selectedOptions
final TextEditingController _otherController