stack_board icon indicating copy to clipboard operation
stack_board copied to clipboard

Working improved version inspired by Canva editor

Open LG33 opened this issue 1 year ago • 0 comments

Hi,

I fixed the bugs and improved a lot the UX. I was inspired by the Canva editor. I hope this PR will be accepted and published on pub.dev soon because I need this package in a FlutterFlow project.

Bug fixes:

  • the scale operation is now working with any angle
  • the rotation operation starts from the current angle
  • JSON saving/loading is working correctly

Improvements:

  • the scale operation keeps the current aspect ratio
  • in order to change the aspect ratio, I added handles on the edges (for image items, the fit is set to cover by default so they can be cropped)
  • when the item is too small, some handles are hidden and a drag handle appears underneath
  • when an item is updated (any operation), it is moved on top of all other items
  • the edit button is replaced by a double tap
  • the delete button is visible only when status is editing
  • more CaseStyle parameters for the frame
  • in the example, I added a generate button that generate items from the clipboard string

Thank you Flutter Candies for all your open source contributions!

LG33 avatar Apr 02 '24 18:04 LG33