From 807f1a067ba9535179cf8ccc13721d711a5fb9ea Mon Sep 17 00:00:00 2001
From: Harshil Patel <hap793@usask.ca>
Date: Tue, 15 Mar 2022 22:31:36 -0600
Subject: [PATCH] "corrected single product viewer"

---
 lib/screens/home_screens/single_product.dart | 46 ++++++++++++++++++--
 1 file changed, 43 insertions(+), 3 deletions(-)

diff --git a/lib/screens/home_screens/single_product.dart b/lib/screens/home_screens/single_product.dart
index cd7604a..d323660 100644
--- a/lib/screens/home_screens/single_product.dart
+++ b/lib/screens/home_screens/single_product.dart
@@ -50,7 +50,7 @@ class SingleProduct extends StatelessWidget {
                                     fontWeight: FontWeight.bold,
                                   ),
                                 ),
-                                Text('$productPrice\$/50 Gram',
+                                Text('\$$productPrice/50 Gram',
                                     style: TextStyle(
                                       color: Colors.grey,
                                     )),
@@ -66,11 +66,51 @@ class SingleProduct extends StatelessWidget {
                                         decoration: BoxDecoration(
                                           border:
                                               Border.all(color: Colors.grey),
+                                          borderRadius: BorderRadius.circular(8),
                                         ),
+                                        child: Row(children: [
+                                          Expanded(child: Text(
+                                            '50 Gram',
+                                            style: TextStyle(fontSize: 11),
+                                          )),
+                                          Center(
+                                            child: Icon(
+                                              Icons.arrow_drop_down,
+                                              size: 20, color: Colors.yellow,
+                                            ),
+                                          )
+                                        ],),
                                       ),
-                                    )
+                                    ),
+                                    SizedBox(
+                                      width: 5,
+                                    ),
+                                    Container(
+                                      height: 25,
+                                      width: 50,
+                                      decoration: BoxDecoration(
+                                        border: Border.all(color: Colors.grey),
+                                        borderRadius: BorderRadius.circular(8),
+                                      ),
+                                      child: Row(
+                                        mainAxisAlignment: MainAxisAlignment.center,
+                                        children: [
+                                          Icon(Icons.remove,
+                                          size: 15, color: Color(0xffd0b84c)),
+                                          Text(
+                                            '1',
+                                            style: TextStyle(
+                                              color: Color(0xffd0b84c),
+                                              fontWeight: FontWeight.bold,
+                                            ),
+                                          ),
+                                          Icon(Icons.add,
+                                            size: 15, color: Color(0xffd0b84c)
+                                          ),
+                                        ],),
+                                    ),
                                   ],
-                                )
+                                ),
                               ],
                             )))
                   ],
-- 
GitLab