CPDFTextFieldAttr class

Inheritance

Constructors

CPDFTextFieldAttr({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?
The border color, the default is: Color(0xFF1460F3)
final
borderWidth int?
The border width, the default is: 2 border thickness, value range:0~10
final
fillColor Color?
final
fontColor Color?
The text color, the default is: Colors.black
final
fontSize int?
The font size, the default is: 20 value range:1~100
final
hashCode int
The hash code for this object.
no setterinherited
isBold bool?
final
isItalic bool?
final
multiline bool?
Whether the text can be multiple lines.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeface CPDFTypeface?
final

Methods

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

Operators

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