HorizontalRayTool constructor

HorizontalRayTool({
  1. required String id,
  2. double? yPosition,
  3. double? centerX,
  4. double? priceValue,
  5. Color color = const Color(0xFF00BFFF),
  6. double strokeWidth = 2.0,
})

Implementation

HorizontalRayTool({
  required String id,
  this.yPosition,
  this.centerX,
  this.priceValue,
  Color color = const Color(0xFF00BFFF),
  double strokeWidth = 2.0,
}) : super(
        id: id,
        type: DrawingToolType.horizontalRay,
        createTime: DateTime.now(),
        color: color,
        strokeWidth: strokeWidth,
      );