Arrow constructor

Arrow({
  1. required SquareLocation from,
  2. required SquareLocation to,
  3. Color color = Colors.green,
})

Implementation

Arrow({required this.from, required this.to, this.color = Colors.green});