drag_and_drop_lists 0.2.7
drag_and_drop_lists: ^0.2.7 copied to clipboard
A flutter package to allow drag-and-drop reordering of two-level lists.
Changelog #
0.2.7 21 October 2020 #
- Added
onItemDraggingChangedandonListDraggingChangedparameters toDragAndDropLists. This allows certain use cases where it is useful to be notified when dragging starts and ends - Refactored
DragAndDropItemWrapperto accept aDragAndDropBuilderParametersinstead of all the other parameters independently to allow for simpler and more consistent changes
0.2.6 20 October 2020 #
- Always check mounted status when setting state
0.2.5 15 October 2020 #
- Added
constrainDraggingAxisparameter inDragAndDropLists. This is useful when setting custom drag targets outside of the DragAndDropLists.
0.2.4 15 October 2020 #
- Added drag handle vertical alignment customization. See
listDragHandleVerticalAlignmentanditemDragHandleVerticalAlignmentparameters inDragAndDropLists - Added 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
disableTopAndBottomBordersparameter toDragAndDropListExpansionandProgrammaticExpansionTileto 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,itemOnWillAcceptanditemTargetOnWillAcceptinDragAndDropLists - Added function parameters for directly accessing items or lists that have been dropped. See the parameters
listOnAccept,listTargetOnAccept,itemOnAcceptanditemTargetOnAcceptinDragAndDropLists
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
dragHandleanddragHandleOnLeftparameters inDragAndDropLists - Added new example for drag handles
- Added option for item dividers. See the
itemDividerparameter inDragAndDropLists - Added option for inner list box decoration. See the
listInnerDecorationparameter inDragAndDropLists - Added option for decoration while dragging lists and items. See the
itemDecorationWhileDragginganditemDecorationWhileDraggingparameters inDragAndDropLists - Removed unused
itemDecorationparameter inDragAndDropLists - Fixed unused
itemDraggingWidthparameter inDragAndDropLists - Configurable bottom padding for list and items. See the
lastItemTargetHeight,addLastItemTargetHeightToTopandlastListTargetSizeparameters inDragAndDropLists - Remove
pubspec.lock(thanks @freitzzz)
0.1.0 21 September 2020 #
- Added canDrag option for lists
- Interface Change: Any classes implementing
DragAndDropListInterfaceneed 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