CPDFFormAttr.textField constructor

const CPDFFormAttr.textField({
  1. Color fillColor = const Color(0xFFDDE9FF),
  2. Color borderColor = const Color(0xFF1460F3),
  3. int borderWidth = 2,
  4. Color fontColor = Colors.black,
  5. int fontSize = 20,
  6. bool isBold = false,
  7. bool isItalic = false,
  8. CPDFAlignment alignment = CPDFAlignment.left,
  9. bool multiline = true,
  10. CPDFTypeface typeface = CPDFTypeface.helvetica,
})

Implementation

const CPDFFormAttr.textField(
    {Color fillColor = const Color(0xFFDDE9FF),
    Color borderColor = const Color(0xFF1460F3),
    int borderWidth = 2,
    Color fontColor = Colors.black,
    int fontSize = 20,
    bool isBold = false,
    bool isItalic = false,
    CPDFAlignment alignment = CPDFAlignment.left,
    bool multiline = true,
    CPDFTypeface typeface = CPDFTypeface.helvetica})
    : this(
          formType: CPDFFormType.textField,
          fillColor: fillColor,
          borderColor: borderColor,
          borderWidth: borderWidth,
          fontColor: fontColor,
          fontSize: fontSize,
          isBold: isBold,
          isItalic: isItalic,
          alignment: alignment,
          multiline: multiline,
          typeface: typeface);