WrapperPainter constructor

WrapperPainter({
  1. double spineHeight = 10.0,
  2. double angle = 75,
  3. SpinePathBuilder? spinePathBuilder,
  4. double radius = 5.0,
  5. double offset = 15,
  6. double? elevation,
  7. double? strokeWidth,
  8. Color shadowColor = Colors.grey,
  9. Color color = Colors.green,
  10. bool formBottom = false,
  11. SpineType spineType = SpineType.left,
})

Implementation

WrapperPainter(
    {this.spineHeight = 10.0,
      this.angle = 75,
      this.spinePathBuilder,
      this.radius = 5.0,
      this.offset = 15,
      this.elevation,
      this.strokeWidth,
      this.shadowColor = Colors.grey,
      this.color = Colors.green,
      this.formBottom = false,
      this.spineType = SpineType.left})
    : mPaint = Paint()
  ..color = color
  ..style =
  strokeWidth == null ? PaintingStyle.fill : PaintingStyle.stroke
  ..strokeWidth = strokeWidth == null ? 1 : strokeWidth;