Created
August 6, 2018 07:01
-
-
Save rohan20/119dbe8470d71322a8b06a4095123306 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
_buildProductDetailsPage(BuildContext context) { | |
Size screenSize = MediaQuery.of(context).size; | |
return ListView( | |
children: <Widget>[ | |
Container( | |
padding: const EdgeInsets.all(4.0), | |
child: Card( | |
elevation: 4.0, | |
child: Column( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
children: <Widget>[ | |
_buildProductImagesWidgets(), | |
_buildProductTitleWidget(), | |
SizedBox(height: 12.0), | |
_buildPriceWidgets(), | |
SizedBox(height: 12.0), | |
_buildDivider(screenSize), | |
SizedBox(height: 12.0), | |
_buildFurtherInfoWidget(), | |
SizedBox(height: 12.0), | |
_buildDivider(screenSize), | |
SizedBox(height: 12.0), | |
_buildSizeChartWidgets(), | |
SizedBox(height: 12.0), | |
_buildDetailsAndMaterialWidgets(), | |
SizedBox(height: 12.0), | |
_buildStyleNoteHeader(), | |
SizedBox(height: 6.0), | |
_buildDivider(screenSize), | |
SizedBox(height: 4.0), | |
_buildStyleNoteData(), | |
SizedBox(height: 20.0), | |
_buildMoreInfoHeader(), | |
SizedBox(height: 6.0), | |
_buildDivider(screenSize), | |
SizedBox(height: 4.0), | |
_buildMoreInfoData(), | |
SizedBox(height: 24.0), | |
], | |
), | |
), | |
), | |
], | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment