CPDFFormAttr constructor
const
CPDFFormAttr({
- required CPDFFormType formType,
- 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,
- Color checkedColor = const Color(0xFF43474D),
- bool isChecked = false,
- CPDFCheckStyle checkedStyle = CPDFCheckStyle.check,
- 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'});