Switch to TextInputPlugin (#6392)

This patch removes uses of keyboard.mojom in favor of the
TextInputPlugin.
This commit is contained in:
Adam Barth
2016-10-19 15:53:31 -07:00
committed by GitHub
parent 4f8da89dc4
commit c08ea4eb33
9 changed files with 165 additions and 321 deletions

View File

@@ -88,7 +88,7 @@ class TextFieldDemoState extends State<TextFieldDemo> {
new Input(
hintText: 'Where can we reach you?',
labelText: 'Phone Number',
keyboardType: KeyboardType.phone,
keyboardType: TextInputType.phone,
formField: new FormField<String>(
setter: (String val) { person.phoneNumber = val; },
validator: _validatePhoneNumber