Skip to content

Instantly share code, notes, and snippets.

@rohan20
Created August 6, 2018 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohan20/92b7a8dd81e55539ec2788074b35d199 to your computer and use it in GitHub Desktop.
Save rohan20/92b7a8dd81e55539ec2788074b35d199 to your computer and use it in GitHub Desktop.
E-Commerce app using Flutter - Part 1: The User Interface
class _ProductDetailPageState extends State<ProductDetailPage>
with TickerProviderStateMixin {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
centerTitle: true,
leading: IconButton(
icon: Icon(
Icons.chevron_left,
size: 40.0,
color: Colors.black,
),
onPressed: () {
Navigator.of(context).pop();
},
),
backgroundColor: Colors.white,
title: Text(
"PRODUCT DETAIL",
style: TextStyle(
color: Colors.black,
),
),
),
body: _buildProductDetailsPage(context),
bottomNavigationBar: _buildBottomNavigationBar(),
);
}
//rest of the methods
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment