textFieldByType method
- FieldType fieldType
Allows you to get an instance of a text field.
Implementation
Future<TextField?> textFieldByType(FieldType fieldType) async {
String? result = await _bridge.invokeMethod("textFieldByType", [
rawResult,
fieldType.value,
]);
if (result == null) return null;
return TextField.fromJson(json.decode(result));
}