CPDFAnnotAttr.square constructor

const CPDFAnnotAttr.square({
  1. Color fillColor = const Color(0xFF1460F3),
  2. Color borderColor = Colors.black,
  3. int colorAlpha = 128,
  4. int borderWidth = 2,
  5. CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid(),
})

Implementation

const CPDFAnnotAttr.square({
  Color fillColor = const Color(0xFF1460F3),
  Color borderColor = Colors.black,
  int colorAlpha = 128,
  int borderWidth = 2,
  CPDFBorderStyle borderStyle = const CPDFBorderStyle.solid(),
}) : this(
          annotationType: CPDFAnnotationType.square,
          fillColor: fillColor,
          borderColor: borderColor,
          colorAlpha: colorAlpha,
          borderWidth: borderWidth,
          borderStyle: borderStyle);