Commit 0b75b698 authored by Dasun Madushanka's avatar Dasun Madushanka

Update details_screen.dart

parent 119cab65
...@@ -14,11 +14,14 @@ class DetailsScreen extends StatelessWidget { ...@@ -14,11 +14,14 @@ class DetailsScreen extends StatelessWidget {
return Scaffold( return Scaffold(
backgroundColor: kPrimaryColor, backgroundColor: kPrimaryColor,
appBar: buildAppBar(context), appBar: buildAppBar(context),
//..call the product
body: Body( body: Body(
product: product, product: product,
), ),
); );
} }
//add btns*back btn,*onpressed()
AppBar buildAppBar(BuildContext context) { AppBar buildAppBar(BuildContext context) {
return AppBar( return AppBar(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment