Aidra Connect 10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
smart_ecommerce_screen.dart
Go to the documentation of this file.
1import '/core/ui/widgets/custom_card.dart';
2import '/core/ui/widgets/custom_scaffold.dart';
3import 'package:flutter/material.dart';
4import 'package:flutter_screenutil/flutter_screenutil.dart';
5
7 const SmartEcommerceScreen({super.key});
8
9 @override
10 State<SmartEcommerceScreen> createState() => _SmartEcommerceScreenState();
11}
12
13class _SmartEcommerceScreenState extends State<SmartEcommerceScreen> {
14 @override
15 Widget build(BuildContext context) {
16 return CustomScaffold(
17 title: 'SMART E-COMMERCE',
18 isLeadingVisible: true,
19 body: SafeArea(
20 child: Padding(
21 padding: EdgeInsets.symmetric(
22 horizontal: 15.sp,
23 vertical: 10.sp,
24 ),
26 child: Column(
27 crossAxisAlignment: CrossAxisAlignment.start,
28 mainAxisSize: MainAxisSize.min,
29 children: [
30 Container(
31 height: 180.sp,
32 decoration: BoxDecoration(
33 color: Theme.of(context)
34 .colorScheme
35 .onSurface
36 .withOpacity(0.11),
37 borderRadius: BorderRadius.circular(10),
38 image: const DecorationImage(
39 fit: BoxFit.cover,
40 image: AssetImage(
41 'assets/images/comming_soon.png',
42 ),
43 ),
44 ),
45 ),
46 SizedBox(height: 15.sp),
47 Text(
48 'SMART E-COMMERCE',
49 style: Theme.of(context).textTheme.displaySmall?.copyWith(
50 fontWeight: FontWeight.bold,
51 ),
52 ),
53 SizedBox(height: 10.sp),
54 Divider(
55 height: 0.0,
56 thickness: 0.7,
57 endIndent: 200.sp,
58 ),
59 SizedBox(height: 10.sp),
60 Text(
61 'Exciting rewards await! Use your collected points to shop for exclusive items in our Store. Stay tuned for the launch and get ready to unlock amazing deals and products with your points. The more you shop, the more you earn!',
62 style: Theme.of(context).textTheme.bodySmall?.copyWith(
63 height: 1.5.sp,
64 ),
65 ),
66 ],
67 ),
68 ),
69 ),
70 ),
71 );
72 }
73}
override State< SmartEcommerceScreen > createState()
const SmartEcommerceScreen({super.key})
const CustomCard({ super.key, required this.child, this.padding, this.bgColor, })
final Widget child
final EdgeInsets padding
final Color color
Definition failures.dart:1
override Widget build(BuildContext context)
const SmartEcommerceScreen({super.key})
final String title