ArrowTool constructor

ArrowTool({
  1. required String id,
  2. Offset? startPoint,
  3. Offset? endPoint,
  4. double arrowHeadSize = 10.0,
  5. Color color = const Color(0xFFFF6B6B),
  6. double strokeWidth = 2.0,
})

Implementation

ArrowTool({
  required String id,
  this.startPoint,
  this.endPoint,
  this.arrowHeadSize = 10.0,
  Color color = const Color(0xFFFF6B6B),
  double strokeWidth = 2.0,
}) : super(
        id: id,
        type: DrawingToolType.arrow,
        createTime: DateTime.now(),
        color: color,
        strokeWidth: strokeWidth,
      );