CPDFPushButtonAttr class

Inheritance

Constructors

CPDFPushButtonAttr({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

Properties

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
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>
override
toString() String
A string representation of this object.
inherited

Operators

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