HorizontalLineTool constructor
HorizontalLineTool({})
Implementation
HorizontalLineTool({
required String id,
this.yPosition,
this.priceLevel,
Color color = const Color(0xFF00BFFF),
double strokeWidth = 2.0,
}) : super(
id: id,
type: DrawingToolType.horizontalLine,
createTime: DateTime.now(),
color: color,
strokeWidth: strokeWidth,
);