CPDFFormAttr class

Constructors

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'})
const
CPDFFormAttr.checkBox({Color fillColor = const Color(0xFFDDE9FF), Color borderColor = const Color(0xFF1460F3), int borderWidth = 2, Color checkedColor = const Color(0xFF43474D), bool isChecked = false, CPDFCheckStyle checkStyle = CPDFCheckStyle.check})
const
CPDFFormAttr.comboBox({Color fillColor = const Color(0xFFDDE9FF), Color borderColor = const Color(0xFF1460F3), int borderWidth = 2, Color fontColor = Colors.black, int fontSize = 20, CPDFTypeface typeface = CPDFTypeface.helvetica, bool isBold = false, bool isItalic = false})
const
CPDFFormAttr.listBox({Color fillColor = const Color(0xFFDDE9FF), Color borderColor = const Color(0xFF1460F3), int borderWidth = 2, Color fontColor = Colors.black, int fontSize = 20, CPDFTypeface typeface = CPDFTypeface.helvetica, bool isBold = false, bool isItalic = false})
const
CPDFFormAttr.pushButton({String title = 'Button', Color fillColor = const Color(0xFFDDE9FF), Color borderColor = const Color(0xFF1460F3), int borderWidth = 2, Color fontColor = Colors.black, int fontSize = 20, CPDFTypeface typeface = CPDFTypeface.helvetica, bool isBold = false, bool isItalic = false})
const
CPDFFormAttr.radioButton({Color fillColor = const Color(0xFFDDE9FF), Color borderColor = const Color(0xFF1460F3), int borderWidth = 2, Color checkedColor = const Color(0xFF43474D), bool isChecked = false, CPDFCheckStyle checkStyle = CPDFCheckStyle.check})
const
CPDFFormAttr.signaturesFields({Color fillColor = const Color(0xFFDDE9FF), Color borderColor = const Color(0xFF1460F3), int borderWidth = 2})
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})
const

Properties

alignment CPDFAlignment
final
borderColor Color
final
borderWidth int
final
checkedColor Color
final
checkedStyle CPDFCheckStyle
final
fillColor Color
final
fontColor Color
final
fontSize int
final
formType CPDFFormType
final
hashCode int
The hash code for this object.
no setterinherited
isBold bool
final
isChecked bool
final
isItalic bool
final
multiline bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final
typeface CPDFTypeface
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited