Hello every one! Today I introduce my third extension, which is repositioning tools extension.This extension give you the ability to drag your components any where on the screen, without needing to drop it in another arrangement,This will be useful for many users who are making animations and they need the user to drag something by himself , like swiping to delete or making parallax effect,etc…
Actually, i’ve got the extension idea from @nikzdreamer2001 ( Unfortunately, he is suspended ) here.
i’ve called this extension repositioning tools and not drag tools ,etc… so i’ve the ability to update it with others repositoining tools like scaling,zooming,etc…
This event is raised when the component is being dragged.
This event is raised when there is an error.
This event is raised when the component is dropped anywhere in the screen.
Register component as draggable so the extension can detect drags on.
If both the horizontal and vertical parameters set to true, you can drag the component any where in the screen, horizontally and vertically.
Unregisters the component so the extension won't detect drags on the component, and the user can’t drag it anympre.
Sets the shadow elevation when the component is being dragged.
If you’ve registered component that you’ve already registered the old parameters will be overwritten and no errors will occur.
I will update this section here with new usages:
1- Swipe to remove list view:
I won’t share its blocks yet because it isn’t completer
Big thanks for @WatermelonIce for the documentation new table.Its all made by him
Thanks for any one who liked this extension .If you’ve liked it please hit the like button
Any suggestions,bugs will be considered, just tell me below and i will try my best to implement it