CPDFFormAttr constructor

const CPDFFormAttr({
  1. required CPDFFormType formType,
  2. Color fillColor = const Color(0xFFDDE9FF),
  3. Color borderColor = const Color(0xFF1460F3),
  4. int borderWidth = 2,
  5. Color fontColor = Colors.black,
  6. int fontSize = 20,
  7. bool isBold = false,
  8. bool isItalic = false,
  9. CPDFAlignment alignment = CPDFAlignment.left,
  10. bool multiline = true,
  11. CPDFTypeface typeface = CPDFTypeface.helvetica,
  12. Color checkedColor = const Color(0xFF43474D),
  13. bool isChecked = false,
  14. CPDFCheckStyle checkedStyle = CPDFCheckStyle.check,
  15. String title = 'Button',
})

Implementation

const CPDFFormAttr(
    {required this.formType,
    this.fillColor = const Color(0xFFDDE9FF),
    this.borderColor = const Color(0xFF1460F3),
    this.borderWidth = 2,
    this.fontColor = Colors.black,
    this.fontSize = 20,
    this.isBold = false,
    this.isItalic = false,
    this.alignment = CPDFAlignment.left,
    this.multiline = true,
    this.typeface = CPDFTypeface.helvetica,
    this.checkedColor = const Color(0xFF43474D),
    this.isChecked = false,
    this.checkedStyle = CPDFCheckStyle.check,
    this.title = 'Button'});