Use ListView in text_field_demo.dart (#7965)
Now that ensureVisible works, we can use ListView instead of Block in this demo.
This commit is contained in:
@@ -110,7 +110,7 @@ class TextFieldDemoState extends State<TextFieldDemo> {
|
||||
key: _formKey,
|
||||
autovalidate: _autovalidate,
|
||||
onWillPop: _warnUserAboutInvalidData,
|
||||
child: new Block(
|
||||
child: new ListView(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
||||
children: <Widget>[
|
||||
new TextField(
|
||||
|
||||
Reference in New Issue
Block a user