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

Update details_screen.dart

parent 119cab65
......@@ -14,12 +14,15 @@ class DetailsScreen extends StatelessWidget {
return Scaffold(
backgroundColor: kPrimaryColor,
appBar: buildAppBar(context),
//..call the product
body: Body(
product: product,
),
);
}
//add btns*back btn,*onpressed()
AppBar buildAppBar(BuildContext context) {
return AppBar(
backgroundColor: kBackgroundColor,
......
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