Skip to content
pubscout

resizable_columns

0.2.1, released 3 weeks ago by serdun.online

A Flutter widget that lays out panes in a row or a column with draggable dividers.

WASM-ready
$ flutter pub add resizable_columns
Source repository

What it does

Lays out multiple panes in a row or column separated by draggable dividers. Supports nesting, minimum sizes, pushing neighboring panes, collapsing panes, and right-to-left layouts without external dependencies.

AI-written summary of version 0.2.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building desktop or web tools with sidebars, editors, and live previews
  • You need resizable split panes with minimum size limits and collapse/expand support
  • You want to save and restore layout pane sizes

Skip it when

  • You are targeting older Flutter versions below 3.24
  • You just need a standard fixed-share Row or Column

Strengths

  • Supports any number of panes, nested grids, and collapse functionality
  • Steady under window resizing, maintaining proportions
  • Wider hit areas for dragging without affecting layout space
  • No dependencies beyond Flutter itself

Weaknesses

  • Requires Flutter 3.24 or later
  • Initial values and sizes must be managed explicitly if state needs to persist across app restarts

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ResizableColumns(
  orientation: ResizableOrientation.horizontal,
  dividerThickness: 8.0,
  minChildSize: 100.0,
  children: [
    (context) => Container(color: Colors.red),
    (context) => Container(color: Colors.blue),
  ],
);

Alternatives

Packages that do the same job and could replace resizable_columns.