CPDFFormAttr.pushButton constructor

const CPDFFormAttr.pushButton({
  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 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,
}) : this(
          formType: CPDFFormType.pushButton,
          title: title,
          fillColor: fillColor,
          borderColor: borderColor,
          borderWidth: borderWidth,
          fontColor: fontColor,
          fontSize: fontSize,
          typeface: typeface,
          isBold: isBold,
          isItalic: isItalic);