PiecePreview constructor

const PiecePreview({
  1. Key? key,
  2. required Piece? piece,
  3. required double size,
})

Implementation

const PiecePreview({
  Key? key,
  required this.piece,
  required this.size,
}) : super(key: key);