SquareUI constructor
const
SquareUI({
- Key? key,
- required String squareName,
- required ValueListenable<
SquareModel> squareNotifier, - required double size,
- required ChessboardController controller,
- required MoveCallback? onMove,
Implementation
const SquareUI({
Key? key,
required this.squareName,
required this.squareNotifier,
required this.size,
required this.controller,
required this.onMove,
}) : super(key: key);