draggable_container 0.1.8 draggable_container: ^0.1.8 copied to clipboard
A Draggable Widget Container. Each children is Draggable, Deletable and Fixable.
[0.1.8] #
Add two methods:
- Future
- Future
- Future
Methods changed name:
- deleteItem -> removeItem
- deleteIndex -> removeIndex
Add the addSlot, addSlots, removeSlot methods tester.
Add LoopCheck class to wait the widget build
[0.1.7+1] #
Set the stack.overflow to Overflow.visible.
[0.1.7] #
Fixed a issue.
[0.1.6+3] #
Fixed a issue of reorder error when autoReorder = false.
[0.1.6+2] #
Fixed a draggable mode issue.
Add onDragEnd event.
[0.1.6+1] #
Fixed: when second times enter the draggable mode, the draggable item move faster than finger
[0.1.6] #
Add bool moveTo(int from, int to, {bool triggerEvent: true, bool force: false}) method
Updated the example code.
[0.1.5] #
Fixed some issues.
Updated the example code.
Updated the test code.
[0.1.4+hotfix] #
Fixed some issues.
Updated the example code.
[0.1.4] #
Fixed some issues.
[0.1.3] #
Fixed some issues.
Add getItem(int index) method
[0.1.2] #
Add insteadOfIndex(int index, DraggableItem item, {bool triggerEvent: true}) method
[0.1.1] #
Updated README.md
[0.1.0] #
Updated README.md
[0.0.9] #
Add onBeforeDelete event.
The addItem, deleteIndex, deleteItem methods add a parameter called triggerEvent, default is true.
Updated the example code.
Updated the demo gif.
Updated README.md
[0.0.8] #
Fixed long press to drag the item move faster than finger.
Fixed some issue.
Add the demo gif.
[0.0.7] #
-
All class names begin with Draggable
-
Add parameters to DraggableContainer:
- draggableMode
- allWayUseLongPress
-
Rewrote the reorder algorithm
-
Use the tester to test the reorder logic.
[0.0.6] #
Updated the example code.
[0.0.5] #
Updated code.
[0.0.4] #
Updated the example code.
[0.0.3] #
Updated code.
[0.0.2] #
Updated the pubspec.yaml file and the example code.
[0.0.1] #
init.