Last active
September 4, 2018 04:00
-
-
Save liemvo/392eff49694c2042657682c0c642ee59 to your computer and use it in GitHub Desktop.
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
var _formKey = GlobalKey<FormState>(); | |
var _formview = Container( | |
color: Colors.grey.shade300, | |
margin: EdgeInsets.all(8.0), | |
padding: EdgeInsets.all(8.0), | |
child: SingleChildScrollView( | |
child: Form( | |
key: _formKey, | |
child: Column( | |
children: <Widget>[ | |
ageFormField(context), | |
heightFormField(context), | |
weightFormField(), | |
Padding( | |
padding: EdgeInsets.only(top: 10.0), | |
child: calculateButton() | |
,), | |
], | |
), | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment