Use KeyboardType.phone for the Gallery app's text demo. (#3983)
BUG=https://github.com/flutter/flutter/issues/3970
This commit is contained in:
parent
ee3db6e61a
commit
0628c64b79
@ -82,6 +82,7 @@ class TextFieldDemoState extends State<TextFieldDemo> {
|
||||
new Input(
|
||||
hintText: 'Where can we reach you?',
|
||||
labelText: 'Phone Number',
|
||||
keyboardType: KeyboardType.phone,
|
||||
formField: new FormField<String>(
|
||||
setter: (String val) { person.phoneNumber = val; },
|
||||
validator: _validatePhoneNumber
|
||||
|
Loading…
x
Reference in New Issue
Block a user