TrendAngleTool constructor

TrendAngleTool({
  1. required String id,
  2. Offset? startPoint,
  3. Offset? endPoint,
  4. double? angle,
  5. Color color = const Color(0xFFFFD700),
  6. double strokeWidth = 2.0,
})

Implementation

TrendAngleTool({
  required String id,
  this.startPoint,
  this.endPoint,
  this.angle,
  Color color = const Color(0xFFFFD700),
  double strokeWidth = 2.0,
}) : super(
        id: id,
        type: DrawingToolType.trendAngle,
        createTime: DateTime.now(),
        color: color,
        strokeWidth: strokeWidth,
      );