drag_split_layout 0.1.1
drag_split_layout: ^0.1.1 copied to clipboard
A Flutter package for creating resizable split-pane layouts with drag-and-drop support. Easily rearrange, split, and replace panes with intuitive gestures and visual drop previews.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-01-20 #
Added #
- Initial release of
drag_split_layout SplitNodemodel for representing layout tree structure- Leaf nodes for content widgets
- Branch nodes for nested splits
- Configurable flex values for sizing
SplitLayoutControllerfor managing layout state- Edit mode toggle
- Node manipulation methods (replace, insert, remove, wrap)
- Path-based node lookup
- Change notification support
EditableMultiSplitViewwidget for rendering editable layouts- Drag-and-drop pane rearrangement
- Visual drop preview overlays
- Customizable dividers
SimpleEditableLayoutfor quick layout creationDraggableSplitPanewrapper for making panes draggableDropTargetPanefor drop-only targets- Drop zone detection with 5 zones:
- Left, right, top, bottom (split operations)
- Center (replace operation)
- Visual drop preview with customizable styling
- Blue highlight for split operations
- Green highlight for replace operations
- Mobile support with long-press dragging
- Comprehensive configuration options
EditableMultiSplitViewConfigDraggablePaneConfigDropPreviewStyle
- Full example application demonstrating all features
Dependencies #
multi_split_view: ^3.1.0for resizable split view functionality