crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
- 'You have pushed the button this many times:',
- ),
- Text(
- '$_counter',
+ 'Name:',
style: Theme.of(context).textTheme.headline4,
),
+ TextField(
+ decoration: InputDecoration(
+ hintText: 'Enter your (real) name',
+ ),
+ ),
],
),
),