Switch to TextInputPlugin (#6392)
This patch removes uses of keyboard.mojom in favor of the TextInputPlugin.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user