DrawConfig constructor

DrawConfig({
  1. required Type contentType,
  2. int angle = 0,
  3. int fingerCount = 0,
  4. Size? size,
  5. BlendMode blendMode = BlendMode.srcOver,
  6. Color color = Colors.red,
  7. ColorFilter? colorFilter,
  8. FilterQuality filterQuality = FilterQuality.high,
  9. ImageFilter? imageFilter,
  10. bool invertColors = false,
  11. bool isAntiAlias = false,
  12. MaskFilter? maskFilter,
  13. Shader? shader,
  14. StrokeCap strokeCap = StrokeCap.round,
  15. StrokeJoin strokeJoin = StrokeJoin.round,
  16. double strokeWidth = 4,
  17. PaintingStyle style = PaintingStyle.stroke,
})

Implementation

DrawConfig({
  required this.contentType,
  this.angle = 0,
  this.fingerCount = 0,
  this.size,
  this.blendMode = BlendMode.srcOver,
  this.color = Colors.red,
  this.colorFilter,
  this.filterQuality = FilterQuality.high,
  this.imageFilter,
  this.invertColors = false,
  this.isAntiAlias = false,
  this.maskFilter,
  this.shader,
  this.strokeCap = StrokeCap.round,
  this.strokeJoin = StrokeJoin.round,
  this.strokeWidth = 4,
  this.style = PaintingStyle.stroke,
});