DrawnShape constructor

const DrawnShape({
  1. required ShapeType type,
  2. required Offset position,
  3. required Color color,
})

Implementation

const DrawnShape({
  required this.type,
  required this.position,
  required this.color,
});