Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@liemvo
Last active September 4, 2018 04:00
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 liemvo/392eff49694c2042657682c0c642ee59 to your computer and use it in GitHub Desktop.
Save liemvo/392eff49694c2042657682c0c642ee59 to your computer and use it in GitHub Desktop.
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