UISquare constructor

UISquare({
  1. required Square square,
  2. required void onClick(
    1. HalfMove move
    ),
  3. required void onDrop(
    1. ShortMove move
    ),
  4. Color? highlight,
})

Implementation

UISquare({
  required this.square,
  required this.onClick,
  required this.onDrop,
  this.highlight,
});