CPDFFormAttr.checkBox constructor

const CPDFFormAttr.checkBox({
  1. Color fillColor = const Color(0xFFDDE9FF),
  2. Color borderColor = const Color(0xFF1460F3),
  3. int borderWidth = 2,
  4. Color checkedColor = const Color(0xFF43474D),
  5. bool isChecked = false,
  6. CPDFCheckStyle checkStyle = CPDFCheckStyle.check,
})

Implementation

const CPDFFormAttr.checkBox(
    {Color fillColor = const Color(0xFFDDE9FF),
    Color borderColor = const Color(0xFF1460F3),
    int borderWidth = 2,
    Color checkedColor = const Color(0xFF43474D),
    bool isChecked = false,
    CPDFCheckStyle checkStyle = CPDFCheckStyle.check})
    : this(
          formType: CPDFFormType.checkBox,
          fillColor: fillColor,
          borderColor: borderColor,
          borderWidth: borderWidth,
          checkedColor: checkedColor,
          isChecked: isChecked,
          checkedStyle: checkStyle);