box_transform

A library for advanced resizing of rect in UI.

APACHE-2.0 License

Stars
63
box_transform - Release v0.4.6 Latest Release

Published by BirjuVachhani about 1 month ago

flutter_box_transform

  • Fix child positioning offset bug. Issue#27
box_transform - Release v0.4.4

Published by SaadArdati 4 months ago

flutter_box_transform

  • Update root pubspec.yaml name from box_transform to melos_box_transform.
  • Fix repository & homepage url in pubspec.yaml

box_transform

  • Update root pubspec.yaml name from box_transform to melos_box_transform.
  • Fix repository & homepage url in pubspec.yaml
box_transform - Release 0.4.3

Published by SaadArdati 4 months ago

flutter_box_transform - v0.4.3

  • Update dependencies & resolve deprecation warnings.
  • Added onTap event to BoxTransformController. (PR #23 by @joakimunge)
  • Deny different transform operations when a box is already undergoing.
  • Add optional resizeModeResolver override to onResizeUpdate in TransformableBoxController.

box_transform - v0.4.3

  • Update dependencies & resolve deprecation warnings.
  • Fix a bug where terminal resize events triggered on the incorrect axis.
box_transform - Release v0.4.2

Published by BirjuVachhani over 1 year ago

flutter_box_transform

  • Fix an issue where visibleHandles disabled the handles instead of hiding them but keeping them enabled.
box_transform - Release v0.4.1

Published by BirjuVachhani over 1 year ago

box_transform

  • Remove DoubleExt from package exports.

flutter_box_transform

  • Deny trackpad pointer devices to prevent erratic drag events when interacting with TransformableBox.
  • Inherit handleAlignment from TransformableBox for AngularHandle.
  • Add debugPaintHandleBounds param for painting handle bounds.
box_transform - Release v0.4.0

Published by BirjuVachhani over 1 year ago

box_transform

  • Fix stack overflow error when the clamping rect is smaller than the box rect.

flutter_box_transform

  • [BREAKING]: Replace hideHandlesWhenNotResizable with enabledHandles and visibleHandles.
  • Replace the usage of Listener widgets with GestureDetectors in the TransformableBox.
  • Add new controls to the playground to reflect the new handle parameters.
  • Bump up box_transform version to 0.4.0.
box_transform - Release v0.3.2

Published by SaadArdati over 1 year ago

flutter_box_transform

  • Fix controller pattern not updating the UI when the controller is updated.
  • Change null resizeModeResolver pattern to a non-null pattern to fix a crash.
  • Correct two broken doc pages.
box_transform - Release v0.3.1

Published by BirjuVachhani over 1 year ago

flutter_box_transform

  • Bump up box_transform version to 0.3.0.
box_transform - Release v0.3.0

Published by BirjuVachhani over 1 year ago

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.
box_transform - Release v0.2.1

Published by BirjuVachhani over 1 year ago

box_transform

  • Update license to Apache 2.0.
  • Update docs and fix broken links.

flutter_box_transform

  • Update license to Apache 2.0.
  • Update playground to use unified clamping rect.
  • Update docs and fix broken links.
box_transform - Release v0.2.0

Published by BirjuVachhani over 1 year ago

box_transform

  • Fix scaling of rect not matching cursor position.

flutter_box_transform

  • Add hideHandlesWhenNotResizable flag to hide handles when the box is not
    resizable by @timmaffett.
  • BREAKING CHANGE: TransformableBox.childBuilder is now TransformableBox.contentBuilder.
  • More advanced example with multiple boxes.
box_transform - Release v0.1.1

Published by BirjuVachhani over 1 year ago

  • Add example.
box_transform - Release v0.1.0

Published by BirjuVachhani over 1 year ago

  • Initial Release.
Package Rankings
Top 25.14% on Pub.dev
Badges
Extracted from project README
melos Build Tests codecov Pub Version Pub Version
Related Projects