CPDFPushButtonAttr constructor

const CPDFPushButtonAttr({
  1. String? title = 'Button',
  2. Color? fillColor = const Color(0xFFDDE9FF),
  3. Color? borderColor = const Color(0xFF1460F3),
  4. int? borderWidth = 2,
  5. Color? fontColor = Colors.black,
  6. int? fontSize = 20,
  7. CPDFTypeface? typeface = CPDFTypeface.helvetica,
  8. bool? isBold = false,
  9. bool? isItalic = false,
})

Implementation

const CPDFPushButtonAttr({
  this.title = 'Button',
  this.fillColor = const Color(0xFFDDE9FF),
  this.borderColor = const Color(0xFF1460F3),
  this.borderWidth = 2,
  this.fontColor = Colors.black,
  this.fontSize = 20,
  this.typeface = CPDFTypeface.helvetica,
  this.isBold = false,
  this.isItalic = false,
});