CPDFFormAttr.textField constructor
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,
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);