Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Jul 23, 2024
1 parent 7fedc5f commit 7406d5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/widgets/board_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Piece>], so to drop your own
/// piece widgets
/// onto the board, put them in a [Draggable<Piece>] and set the data to the
/// piece you want to drop.
/// piece widgets onto the board, put them in a [Draggable<Piece>] and set the
/// data to the piece you want to drop.
final void Function(SquareId? origin, SquareId destination, Piece piece)?
onDroppedPiece;

Expand Down

0 comments on commit 7406d5c

Please sign in to comment.