UIPiece constructor
const
UIPiece({
- Key? key,
- required String squareName,
- required BoardColor squareColor,
- required Piece piece,
- required double size,
Implementation
const UIPiece({
Key? key,
required this.squareName,
required this.squareColor,
required this.piece,
required this.size,
}) : super(key: key);