BoardArrow constructor

BoardArrow({
  1. required String from,
  2. required String to,
})

Constructor. from : from square (e.g 'd2'). to : to square (e.g 'd4'). color: color of the arrow from flutter material package (e.g Colors.green).

Implementation

BoardArrow({
  required this.from,
  required this.to,
});