Add multiline support to Input and friends. (#6155)
Fixes https://github.com/flutter/flutter/issues/6154
This commit is contained in:
@@ -94,6 +94,12 @@ class TextFieldDemoState extends State<TextFieldDemo> {
|
||||
validator: _validatePhoneNumber
|
||||
)
|
||||
),
|
||||
new Input(
|
||||
hintText: 'Tell us about yourself (optional)',
|
||||
labelText: 'Life story',
|
||||
multiline: true,
|
||||
formField: new FormField<String>()
|
||||
),
|
||||
new Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
|
||||
Reference in New Issue
Block a user