Releases: alexobviously/squares
Releases · alexobviously/squares
v1.2.1
DragTargetFeedback
: used to build visual feedback for pieces hovering over drag targets inBoardTargets
/Board
/BoardController
.
1.2.0
- Now requires Dart 3.
BoardController
can now takeoverlays
andunderlays
as parameters, and passes them through toBoard
.BoardBuilder
now takes a parameterforceSquareAlignment
, which defaults to true, and forces elements to be aligned to their squares (previously this was not the case).SquareBuilder
functions (such as those used byBoardBuilder
) now returnWidget?
, i.e. they can return null.BoardBuilder
will build an empty container in this case.BoardBuilder.index()
: aBoardBuilder
that uses an index, rather than rank and file.InputOverlay
: an easy way to support common gestures like right clicks and long presses.SquareNumberOverlay
: an overlay for debugging that shows the square index.LabelConfig
is now exported correctly with the rest of the package.