Skip to content
pubscout

panes

1.5.0, released 4 weeks ago by sofluffy.io

Create complex, resizable, multi-pane layouts for IDE-like and desktop interfaces.

WASM-ready
$ flutter pub add panes
Source repository

What it does

Provides resizable horizontal and vertical multi-pane layouts, pre-built IDE-like structures with sidebars and bottom panels, and tabbed interfaces. Allows programmatic control, dynamic pane management, state serialization, and custom theming.

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

Use it when

  • Building a desktop-style application or complex dashboard with resizable panels
  • Creating an IDE-like interface with customizable sidebars and bottom terminals
  • Needing to save and restore complex user-adjusted layout states

Skip it when

  • Building simple mobile applications with standard navigation and scrolling lists
  • Needing standard Material or Cupertino layout scaffolds without split views

Strengths

  • Flexible layout configurations with nested horizontal and vertical panes
  • Supports dynamic runtime pane management, serialization, and keyboard accessibility
  • Pre-configured IDE layout with multiple bottom panel positioning modes

Weaknesses

  • Limited primarily to multi-pane and split-view design patterns
  • Relies entirely on package-specific controllers for programmatic mutations

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
final controller = PaneController(
  entries: [
    PaneEntry(id: 'sidebar', initialSize: PaneSize.pixel(250)),
    PaneEntry(id: 'content', initialSize: PaneSize.fraction(1.0)),
  ],
);

MultiPane(
  direction: Axis.horizontal,
  controller: controller,
  paneBuilder: (context, id) => switch (id) {
    'sidebar' => Sidebar(),
    'content' => Content(),
    _ => const SizedBox(),
  },
)

Alternatives

Packages that do the same job and could replace panes.

  • boxy

    Advanced flex, custom multi-child layouts, and slivers for Flutter.