Line constructor

Line({
  1. required LineType type,
  2. required double startX,
  3. required double startY,
  4. required double endX,
  5. required double endY,
  6. String? text,
  7. bool showArrow = false,
})

Implementation

Line({
  required this.type,
  required this.startX,
  required this.startY,
  required this.endX,
  required this.endY,
  this.text,
  this.showArrow = false,
});