Skip to content

Release v0.3.0

Choose a tag to compare

@BirjuVachhani BirjuVachhani released this 31 May 18:42
· 58 commits to main since this release
7ae93bf

box_transform

  • Refactored the core logic to make it more readable, cleaner and easier to maintain.
  • Fix issues with resizing, constraints, clamping and flipping.
  • [BREAKING]: Replace flipRect with allowFlipping.
  • [BREAKING]: Rename initialBox to initialRect in BoxTransformer.move and BoxTransformer.resize methods.
  • ResizeResult now exposes laregest rect and handle used.
  • Refactored code and performed some cleanup.
  • Bump up Dart sdk constraints to 3.0.0.
  • Update all documentation to reflect the new changes.
  • Fix broken links in docs.
  • Add tests for resizing features.

flutter_box_transform

  • Bump up Dart sdk constraints to 3.0.0.
  • [BREAKING]: Replace onResized with onResizeUpdate.
  • [BREAKING]: Replace flipWhileResizing with allowFlippingWhileResizing.
  • [BREAKING]: Replace onMoved with onDragUpdate.
  • [BREAKING]: Rename resolveResizeModeCallback to resizeModeResolver.
  • [BREAKING]: onChanged callback now has two parameters: UITransformResult and PointerMoveEvent.
  • [BREAKING]: onTerminalSizeReached callback now also exposes underlying PointerEvent.
  • Add onResizeStart and onResizeEnd callbacks.
  • Add onDragStart and onDragEnd callbacks for move operation.
  • Add simple example alongside an advanced playground example.