mirror of
https://github.com/flutter/flutter
synced 2024-08-25 11:07:06 +00:00
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:
parent
28defe5053
commit
1a066c8404
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue