fieldType property

String? get fieldType

Gets the field type (/FT).

Implementation

String? get fieldType {
  if (dictionary.containsKey(PdfNameTokens.ft)) {
    final ft = dictionary[PdfNameTokens.ft];
    if (ft is PdfName) return ft.value;
  }
  return null;
}