From 7406d5ce4892df95fb6f7f6fc60e2efcf9040113 Mon Sep 17 00:00:00 2001 From: Vincent Velociter Date: Tue, 23 Jul 2024 10:06:35 +0200 Subject: [PATCH] Tweak --- lib/src/widgets/board_editor.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/widgets/board_editor.dart b/lib/src/widgets/board_editor.dart index 8dd7c22..36ffc17 100644 --- a/lib/src/widgets/board_editor.dart +++ b/lib/src/widgets/board_editor.dart @@ -79,10 +79,10 @@ class ChessBoardEditor extends StatefulWidget with BoardGeometry { /// If `origin` is not `null`, the piece was dragged from that square of the /// board editor. /// Otherwise, it was dragged from outside the board editor. + /// /// Each square of the board is a [DragTarget], so to drop your own - /// piece widgets - /// onto the board, put them in a [Draggable] and set the data to the - /// piece you want to drop. + /// piece widgets onto the board, put them in a [Draggable] and set the + /// data to the piece you want to drop. final void Function(SquareId? origin, SquareId destination, Piece piece)? onDroppedPiece;