Created
August 6, 2018 07:01
-
-
Save rohan20/92b7a8dd81e55539ec2788074b35d199 to your computer and use it in GitHub Desktop.
E-Commerce app using Flutter - Part 1: The User Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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