ChartDrawing constructor
const
ChartDrawing({
- required String id,
- required DrawingTool tool,
- required List<
DrawingPoint> points, - Color color = const Color(0xFF2962FF),
- double strokeWidth = 1.8,
- bool isLocked = false,
- bool isSelected = false,
- Map<
String, dynamic> properties = const {},
Implementation
const ChartDrawing({
required this.id,
required this.tool,
required this.points,
this.color = const Color(0xFF2962FF),
this.strokeWidth = 1.8,
this.isLocked = false,
this.isSelected = false,
this.properties = const {},
});