FreehandItem constructor

const FreehandItem({
  1. required List<Offset> worldPoints,
  2. Color color = const Color(0xFF1F2937),
  3. double strokeWidth = 2.5,
  4. StrokeCap cap = StrokeCap.round,
  5. bool isEraser = false,
  6. double baseScale = 1.0,
})

Implementation

const FreehandItem({
  required this.worldPoints,
  this.color = const Color(0xFF1F2937),
  this.strokeWidth = 2.5,
  this.cap = StrokeCap.round,
  this.isEraser = false,
  this.baseScale = 1.0,
});