box_transform
0.4.4, released 2 years ago by hyperdesigned.dev
Pure-Dart implementation of advanced 2D box transformation, resizing, and dragging.
What it does
Provides programmatically resizable and draggable 2D boxes without relying on Flutter. Includes dimension constraining, positional flipping mechanics, drag clamping, and customizable anchor points.
AI-written summary of version 0.4.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to handle box resizing and dragging logic programmatically in Dart or Flutter.
- You require advanced features like dimension constraining and positional flipping.
Skip it when
- You only need simple out-of-the-box Flutter UI widgets without managing custom box transformation logic.
- Your project does not deal with 2D rectangles or spatial manipulations.
Strengths
- Pure Dart implementation independent of Flutter.
- Flexible resizing modes and customizable anchor points.
- Supports dimension constraining and dragging clamping.
Weaknesses
- Requires manual implementation for rendering the UI elements based on the transformation results.
- Limited to 2D box transformations.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:box_transform/box_transform.dart';
// Use BoxTransformer to handle resizing or moving boxes programmaticallyAlternatives
Packages that do the same job and could replace box_transform.
- stream_transform
Extension methods adding common stream transform operators
91Compare - gtk
GTK utilities for Flutter Linux applications, providing settings and application lifecycle helpers.
76Compare - sdp_transform
Parse and write SDP strings in Dart.
72Compare - flutter_flavorizr
A utility to easily create and configure application flavors in Flutter.
86Compare
Works with
Packages commonly used together with box_transform: ones it builds on, ones built on it, and its own family.