Aidra Connect 10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
monthly_deliveries_view.dart
Go to the documentation of this file.
1import 'package:flutter/material.dart';
2import 'package:flutter_screenutil/flutter_screenutil.dart';
3
4import '../../../../../core/ui/widgets/custom_card.dart';
5import '../../energy/energy_screen.dart';
6import '../../widgets/step_brogress_bar.dart';
7
8class MonthlyDeliveriesView extends StatelessWidget {
9 const MonthlyDeliveriesView({super.key});
10
11 @override
12 Widget build(BuildContext context) {
13 return SingleChildScrollView(
14 padding: EdgeInsets.all(15.sp),
15 child: Column(
16 crossAxisAlignment: CrossAxisAlignment.start,
17 children: [
18 Container(
19 width: double.infinity,
20 padding: EdgeInsets.all(15.sp),
21 decoration: BoxDecoration(
22 color: Colors.blue.withOpacity(0.11),
23 borderRadius: BorderRadius.circular(10),
24 ),
25 child: Center(
26 child: Text(
27 'Transport',
28 style: Theme.of(context)
29 .textTheme
30 .bodySmall
31 ?.copyWith(color: Colors.blue),
32 ),
33 ),
34 ),
35 SizedBox(height: 10.sp),
37 padding: EdgeInsets.all(15.sp),
38 child: Column(
39 crossAxisAlignment: CrossAxisAlignment.start,
40 children: [
41 SimpleProgressBar(
42 totalSteps: 6,
43 currentStep: 1,
44 ),
45 SizedBox(height: 10.sp),
46 Text(
47 'How Many Deliveries Do You Receive Monthly?',
48 style: Theme.of(context).textTheme.displaySmall?.copyWith(
49 fontSize: 12.sp,
50 ),
51 ),
52 SizedBox(height: 20.sp),
54 label: 'Monthly Deliveries',
55 hint: 'kg/Month',
56 ),
57 ],
58 ),
59 ),
60 ],
61 ),
62 );
63 }
64}
const CustomInputField({ super.key, required this.label, required this.hint, })
const MonthlyDeliveriesView({super.key})
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })
final Widget child
override Widget build(BuildContext context)
final String label
final String hint