TrendLineTool constructor
TrendLineTool({})
Implementation
TrendLineTool({
required String id,
this.startPoint,
this.endPoint,
this.extendLeft = false,
this.extendRight = false,
Color color = const Color(0xFFFFD700),
double strokeWidth = 2.0,
}) : super(
id: id,
type: DrawingToolType.trendLine,
createTime: DateTime.now(),
color: color,
strokeWidth: strokeWidth,
);