resizable_widget
1.0.5, released 5 years ago by ibako-piyo.com
Widget that enables users to resize internal child widgets by dragging separators.
What it does
Allows users to resize internal child widgets dynamically by dragging separators between them. Supports custom separator sizes, colors, initial percentages, and a smart-hide feature upon double-clicking.
AI-written summary of version 1.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need split-pane or resizable layouts inside your app.
- You want users to adjust the relative screen space allocated to different sections.
Skip it when
- You need complex docking layouts or multi-window desktop management.
- You only need a static layout grid.
Strengths
- Simple and straightforward API.
- Supports callbacks to track size and percentage changes.
- Includes customizable separator color, size, and smart-hide functionality.
Weaknesses
- Limited to linear resizable splits of internal widgets.
- No advanced nesting or dockable window features mentioned.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ResizableWidget(
children: [
Container(color: Colors.greenAccent),
Container(color: Colors.yellowAccent),
Container(color: Colors.redAccent),
],
isHorizontalSeparator: false,
percentages: [0.2, 0.5, 0.3],
)Alternatives
Packages that do the same job and could replace resizable_widget.
- selectable
A widget that enables text selection across multiple text widgets.
77Compare - draw_your_image
A Flutter widget for creating customizable drawing canvases with a declarative API.
70Compare
Works with
Packages commonly used together with resizable_widget: ones it builds on, ones built on it, and its own family.