textFieldByTypeLcid method

Future<TextField?> textFieldByTypeLcid(
  1. FieldType fieldType,
  2. LCID lcid
)

Allows you to get an instance of a text field based on LCID.

Implementation

Future<TextField?> textFieldByTypeLcid(
  FieldType fieldType,
  LCID lcid,
) async {
  String? result = await _bridge.invokeMethod(
    "textFieldByTypeLcid",
    [
      rawResult,
      fieldType.value,
      lcid.value,
    ],
  );
  if (result == null) return null;
  return TextField.fromJson(json.decode(result));
}