import 'package:flutter/material.dart'; void main() { runApp(DailykartAboutApp()); } // Main app class class DailykartAboutApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, title: 'About - Dailykart', theme: ThemeData( primaryColor: Colors.white, ), home: AboutPage(), ); } } class AboutPage extends StatefulWidget { @override _AboutPageState createState() => _AboutPageState(); } class _AboutPageState extends State { final ScrollController _scrollController = ScrollController(); void _scrollToTop() { _scrollController.animateTo(0, duration: Duration(milliseconds: 500), curve: Curves.easeInOut); } @override Widget build(BuildContext context) { return Scaffold( endDrawer: Drawer( child: ListView( padding: EdgeInsets.zero, children: [ DrawerHeader( decoration: BoxDecoration(color: Colors.green), child: Text('Menu', style: TextStyle(color: Colors.white, fontSize: 24)), ), ListTile(title: Text('Home'), onTap: () {}), ListTile(title: Text('About'), onTap: () {}), ListTile(title: Text('Shop'), onTap: () {}), ListTile(title: Text('Contact'), onTap: () {}), ], ), ), body: Column( children: [ // Custom header Container( color: Colors.white, padding: EdgeInsets.symmetric(horizontal: 16, vertical: 10), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ // Logo + Title Row( children: [ Image.asset( 'assets/images/logo.png', width: 100, height: 50, ), SizedBox(width: 8), // Optional: Text('Dailykart') if needed ], ), // Menu button Builder( builder: (context) => IconButton( icon: Icon(Icons.menu, color: Colors.black), onPressed: () { Scaffold.of(context).openEndDrawer(); }, ), ), ], ), SizedBox(height: 8), // Breadcrumb Row( children: [ TextButton( onPressed: () {}, child: Text('Home', style: TextStyle(color: Colors.black)), ), Text(' > ', style: TextStyle(color: Colors.grey)), Text('About', style: TextStyle(color: Colors.grey)), ], ), ], ), ), // Main scrollable content + footer Expanded( child: SingleChildScrollView( controller: _scrollController, padding: EdgeInsets.all(16), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ // About Images & Text Image.asset( 'assets/images/about/aabout.webp', ), SizedBox(height: 60), Text( 'About Us', style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'We\'re more than just a distributor; we\'re passionate purveyors of premium organic products, driven by the belief that "Food is medicine, and medicine is food." Indulge in the goodness of certified organic, gluten-free cuisine, meticulously curated to be both nutritious and delightful. Our unwavering commitment to quality ensures:', style: TextStyle(fontSize: 16), ), SizedBox(height: 10), BulletPoint( text: 'Freshness: We nurture our own farm to bring you the ripest, most flavorful organic fruits and vegetables at their peak.'), BulletPoint( text: 'Purity: Savor the taste of real food, free from artificial chemicals, additives, and hormones.'), BulletPoint( text: 'Variety: Explore a world of organic options, from wholesome grains and dairy products to gourmet spices and pantry staples.'), BulletPoint( text: 'Convenience: Busy lifestyle? No problem! We offer quick meals, protein options, and healthy snacks to keep you going.'), BulletPoint( text: 'Holistic Wellness: Discover the power of Ayurveda and essential oils, alongside organic seeds and eco-friendly homecare products.'), SizedBox(height: 20), Image.asset( 'assets/images/about/aabout20.webp', fit: BoxFit.cover, ), SizedBox(height: 40), Text( 'Why Choose Dailykart?', style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'Dailykart Commitment to Quality', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'At Dailykart, we begin our journey in nature, inspired by time-honored practices. Our dedication to quality goes beyond tradition. We blend this rich heritage with the latest technology, guided by a skilled team of engineers, agronomists, chemists, and researchers. This unique approach enables us to closely monitor and manage every step of our supply chain.', style: TextStyle(fontSize: 16), ), SizedBox(height: 10), Text( 'Our goal is clear: to deliver exceptional quality and unmatched organic purity to our customers. Every product from Dailykart stands as a testament to our commitment to being "clean," meaning it consistently exceeds our high standards. This isn\'t merely a promise — it’s a point of pride for us.', style: TextStyle(fontSize: 16), ), SizedBox(height: 40), Image.asset( 'assets/images/about/aabout3.webp', ), SizedBox(height: 60), Text( 'Cultivating Goodness with Dailykart', style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'At Dailykart, we believe that healthy soil, thriving plants, and well-being go hand in hand. We see farmers as caretakers of the land, and we value their dedication deeply. That’s why we work directly with farmers who are carefully selected and trained in sustainable, organic practices. From chemical-free soil to hand-harvested grains, every product is grown with care to ensure the highest quality.', style: TextStyle(fontSize: 16), ), SizedBox(height: 10), Image.asset( 'assets/images/about/aabout4.webp', ), SizedBox(height: 60), Text( 'Our Commitment to Purity:', style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'Our focus remains clear — to deliver the highest standards of quality and exceptional organic purity. Every product you choose from Dailykart reflects our dedication to being truly "clean," meaning it goes beyond our strict quality benchmarks. This is more than a commitment — it s something we take genuine pride in.', style: TextStyle(fontSize: 16), ), SizedBox(height: 10), Image.asset( 'assets/images/about/aabout5.webp', ), SizedBox(height: 60), Text( 'Ensuring Quality and Freshness in Every Package', style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold), ), SizedBox(height: 10), Text( 'At Dailykart, we do more than just source organic products — we work closely with expert horticulturists and auditors to ensure best practices across our entire supply chain. All partners are expected to follow a robust Food Safety Management System, ideally aligned with HACCP principles. We also conduct thorough internal and external audits, track key performance indicators, and stay updated with the latest research. Combined with our advanced sorting and packaging systems, this approach ensures every product reaches you as fresh and safe as when it was harvested, meeting top international standards for quality and food safety.', style: TextStyle(fontSize: 16), ), SizedBox(height: 60), // Footer Section FooterSection(), ], ), ), ), ], ), ); } } // BulletPoint widget for list items class BulletPoint extends StatelessWidget { final String text; BulletPoint({required this.text}); @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.only(left: 8.0, bottom: 4.0), child: Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('• ', style: TextStyle(fontSize: 20)), Expanded( child: Text( text, style: TextStyle(fontSize: 16), ), ), ], ), ); } } // Footer Section Widget class FooterSection extends StatelessWidget { @override Widget build(BuildContext context) { return Container( color: Colors.black87, padding: EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ // Logo & Description Row( children: [ RichText( text: TextSpan( style: TextStyle( fontSize: 24, fontWeight: FontWeight.bold, ), children: [ TextSpan( text: 'D', style: TextStyle(color: Colors.green), ), TextSpan( text: 'aily', style: TextStyle(color: Colors.white), ), TextSpan( text: 'Kart', style: TextStyle(color: Colors.brown), ), ], ), ), SizedBox(width: 8), Icon(Icons.shopping_cart, color: Colors.brown), ], ), SizedBox(height: 8), Text( "We're more than just a distributor; we're passionate purveyors of premium organic products, driven by the belief that \"Food is medicine, and medicine is food.\"", style: TextStyle(color: Colors.white70, fontSize: 14), ), SizedBox(height: 16), // Quick Links Text( 'QUICK LINKS', style: TextStyle( color: Colors.white, fontWeight: FontWeight.bold, ), ), SizedBox(height: 8), Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ _buildLink('Home'), _buildLink('About Us'), _buildLink('Shop'), _buildLink('B2B'), _buildLink('Contact Us'), ], ), SizedBox(height: 16), // Contact Info Text( 'CONTACT INFO', style: TextStyle( color: Colors.white, fontWeight: FontWeight.bold, ), ), SizedBox(height: 8), Row( children: [ Icon(Icons.home, color: Colors.white70, size: 20), SizedBox(width: 8), Expanded( child: Text( 'Bengaluru Karnataka - 562130', style: TextStyle(color: Colors.white70), ), ), ], ), SizedBox(height: 8), Row( children: [ Icon(Icons.email, color: Colors.white70, size: 20), SizedBox(width: 8), Text( 'sales@dailykart.com', style: TextStyle(color: Colors.white70), ), ], ), SizedBox(height: 16), Divider(color: Colors.white24), SizedBox(height: 8), Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text( '© Copyright 2025. All Rights Reserved.', style: TextStyle(color: Colors.white70, fontSize: 12), ), Text( 'Opsmonsters.', style: TextStyle(color: Colors.greenAccent, fontSize: 12), ), ], ), SizedBox(height: 8), SingleChildScrollView( scrollDirection: Axis.horizontal, child: Row( children: [ _buildPaymentIcon('payment.png'), _buildPaymentIcon('payment (1).png'), _buildPaymentIcon('payment (2).png'), _buildPaymentIcon('payment (3).png'), _buildPaymentIcon('payment (4).png'), _buildPaymentIcon('payment (5).png'), ], ), ), ], ), ); } Widget _buildLink(String title) { return Padding( padding: const EdgeInsets.symmetric(vertical: 2.0), child: Text( title, style: TextStyle( color: Colors.white70, decoration: TextDecoration.underline), ), ); } Widget _buildPaymentIcon(String assetName) { return Padding( padding: const EdgeInsets.symmetric(horizontal: 4.0), child: Image.asset( 'assets/images/payment.png', height: 30, width: 50, fit: BoxFit.contain, ), ); } }