drag_and_drop_lists 0.2.4 drag_and_drop_lists: ^0.2.4 copied to clipboard
A flutter package to allow drag-and-drop reordering of two-level lists.
Changelog #
[0.2.4] - 15 October 2020 #
- Add drag handle vertical alignment customization. See
listDragHandleVerticalAlignment
anditemDragHandleVerticalAlignment
parameters inDragAndDropLists
- Add mouse cursor change on web when hovering on drag handle
- Fixed itemDecorationWhileDragging only applied when dragHandle is provided? (thanks kjmj)
- Fixed bug where setState() was called after dispose when dragging items in a long list (See issue Error in debug console when dragging item in long list, thanks mivoligo)
- Apply the itemDivider property to items in the DragAndDropListExpansion widget and use the lastItemTargetHeight instead of the constant value of 20 (thanks kjmj)
[0.2.3] - 8 October 2020 #
- Added
disableTopAndBottomBorders
parameter toDragAndDropListExpansion
andProgrammaticExpansionTile
to allow for more styling options.
[0.2.2] - 7 October 2020 #
- Added function parameters for customizing the criteria for where an item or list can be dropped. See the parameters
listOnWillAccept
,listTargetOnWillAccept
,itemOnWillAccept
anditemTargetOnWillAccept
inDragAndDropLists
- Added function parameters for directly accessing items or lists that have been dropped. See the parameters
listOnAccept
,listTargetOnAccept
,itemOnAccept
anditemTargetOnAccept
inDragAndDropLists
[0.2.1] - 6 October 2020 #
- Fixed bug where auto scrolling could occur even when not dragging an item (thanks @ElenaKova)
[0.2.0] - 5 October 2020 #
- Added option for drag handles. See
dragHandle
anddragHandleOnLeft
parameters inDragAndDropLists
- Added new example for drag handles
- Added option for item dividers. See the
itemDivider
parameter inDragAndDropLists
- Added option for inner list box decoration. See the
listInnerDecoration
parameter inDragAndDropLists
- Added option for decoration while dragging lists and items. See the
itemDecorationWhileDragging
anditemDecorationWhileDragging
parameters inDragAndDropLists
- Removed unused
itemDecoration
parameter inDragAndDropLists
- Fixed unused
itemDraggingWidth
parameter inDragAndDropLists
- Configurable bottom padding for list and items. See the
lastItemTargetHeight
,addLastItemTargetHeightToTop
andlastListTargetSize
parameters inDragAndDropLists
- Remove
pubspec.lock
(thanks @freitzzz)
[0.1.0] - 21 September 2020 #
- Added canDrag option for lists
- Interface Change: Any classes implementing
DragAndDropListInterface
need to addcanDrag
[0.0.6] - 24 July 2020 #
- Fixed wrong parameter order for onItemAdd (thanks @khauns)
- ProgrammaticExpansionTile: include option for isThreeLine of ListTile
- ProgrammaticExpansionTile: Remove required annotation for leading
[0.0.5] - 24 July 2020 #
- ProgrammaticExpansionTile: ensure that parent widget will always know its expanded/collapsed state
[0.0.4] - 21 July 2020 #
- Updated example project for web compatibility
[0.0.3] - 21 July 2020 #
- Formatted all with dartfmt
[0.0.2] - 21 July 2020 #
- Added API documentation
[0.0.1] - 21 July 2020 #
- Initial release