board_callbacks
library
Typedefs
-
BoardAnimationCallback
= void Function(bool isAnimating)
-
Called when animation starts or completes
-
BoardControllerStateCallback
= void Function(bool isAttached)
-
Called when the board controller is attached or detached
-
BoardDragCancelCallback
= void Function(int listIndex, int itemIndex)
-
Called when a drag operation is cancelled
-
BoardDragEndCallback
= void Function(int fromListIndex, int fromItemIndex, int toListIndex, int toItemIndex)
-
Called when a drag operation ends
-
BoardDragStartCallback
= void Function(int listIndex, int itemIndex)
-
Called when a drag operation starts
-
BoardErrorCallback
= void Function(String error, StackTrace? stackTrace)
-
Called when an error occurs during board operations
-
BoardItemMoveCallback
= void Function(int fromListIndex, int fromItemIndex, int toListIndex, int toItemIndex)
-
Called when an item is moved to a different list
-
BoardItemReorderCallback
= void Function(int listIndex, int fromIndex, int toIndex)
-
Called when an item is moved within the same list
-
BoardItemVisibilityCallback
= void Function(int listIndex, int itemIndex, bool isVisible)
-
Called when an item becomes visible or hidden in a list
-
BoardLayoutChangeCallback
= void Function(Size boardSize)
-
Called when the board layout changes (e.g., orientation, size)
-
BoardListReorderCallback
= void Function(int fromIndex, int toIndex)
-
Called when a list is reordered
-
BoardListScrollCallback
= void Function(int listIndex, double position, double maxExtent)
-
Called when a list scroll position changes
-
BoardListScrollStateCallback
= void Function(int listIndex, bool isScrolling)
-
Called when a list starts or stops scrolling
-
BoardListVisibilityCallback
= void Function(int listIndex, bool isVisible)
-
Called when a list becomes visible or hidden
-
BoardScrollCallback
= void Function(double position, double maxExtent)
-
Callback function signatures for various board state changes
Called when the board scroll position changes
-
BoardScrollStateCallback
= void Function(bool isScrolling)
-
Called when the board starts or stops scrolling
-
BoardSelectionCallback
= void Function(List<BoardItemSelection> selectedItems)
-
Called when items are selected or deselected
-
BoardSelectionModeCallback
= void Function(bool isSelecting)
-
Called when the board enters or exits selection mode