VerticalLineTool constructor

VerticalLineTool({
  1. required String id,
  2. double? xPosition,
  3. DateTime? timePoint,
  4. Color color = const Color(0xFF00BFFF),
  5. double strokeWidth = 2.0,
})

Implementation

VerticalLineTool({
  required String id,
  this.xPosition,
  this.timePoint,
  Color color = const Color(0xFF00BFFF),
  double strokeWidth = 2.0,
}) : super(
        id: id,
        type: DrawingToolType.verticalLine,
        createTime: DateTime.now(),
        color: color,
        strokeWidth: strokeWidth,
      );