web engine should not give an error for the new text editing method. (flutter/engine#17771)

This commit is contained in:
Nurhan Turgut
2020-04-17 10:27:33 -07:00
committed by GitHub
parent 3d775a40b5
commit ee7c61cb96

View File

@@ -815,6 +815,11 @@ class TextEditingChannel {
implementation.hide();
break;
case 'TextInput.requestAutofill':
// No-op: This message is sent by the framework to requests the platform autofill UI to appear.
// Since autofill UI is a part of the browser, web engine does not need to utilize this method.
break;
default:
throw StateError('Unsupported method call on the flutter/textinput channel: ${call.method}');
}