Skip to content

Commit

Permalink
UI Completed:
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Thakur-369 committed Dec 26, 2023
1 parent b07e7cf commit d207ac6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
23 changes: 15 additions & 8 deletions lib/screens/cart_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,25 @@ class _CartPageState extends State<CartPage> {
child: Scaffold(
body: Column(
children: [
const Padding(
Padding(
padding: EdgeInsets.only(top: 8, bottom: 8, left: 15, right: 15),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
RotatedBox(
const RotatedBox(
quarterTurns: 0,
child: Icon(
Icons.sort,
color: Colors.grey,
size: 30,
)),
CircleAvatar(
maxRadius: 25,
child: Image(image: AssetImage("assets/product/user.png")),
Container(
height: 40,
width: 40,
decoration: BoxDecoration(
shape: BoxShape.circle,
image: DecorationImage(
image: AssetImage("assets/product/user.png"))),
),
],
),
Expand Down Expand Up @@ -124,9 +128,12 @@ class _CartPageState extends State<CartPage> {
SizedBox(
height: 200,
width: 130,
child: Image.asset(
data.image,
scale: 0.2,
child: Hero(
tag: data.name,
child: Image.asset(
data.image,
scale: 0.2,
),
),
),
Padding(
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class _HomePageState extends State<HomePage> {
? tags[0]
: index == 1
? tags[1]
: ' ',
: "",
style: TextStyle(
color: MyColors().mainColor,
fontWeight: FontWeight.w700),
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/product_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class _ProductPageState extends State<ProductPage> {
height: 250,
width: double.infinity,
child: Hero(
tag: data.image,
tag: data.name,
child: Image.asset(selectedphotoname)),
),
],
Expand Down

0 comments on commit d207ac6

Please sign in to comment.