Read page as text

NIB / PLAYGROUND

Resizable panels playground — NibComponents

Try resizable panels in Flutter. Drag or nudge a real divider while respecting panel fractions and narrow-layout fallback.

Open interactive view

Drag or nudge a real divider while respecting panel fractions and narrow-layout fallback.

Read the full component guide and API

Public widgets and APIs

  • NibResizablePanel
  • NibResizablePanels
  • NibResizablePanelsController
  • NibResizablePanelsHandle
  • kNibResizablePanelsKeyboardStep
  • kNibResizablePanelsNarrowFallbackPanelExtent

Example Dart code

SizedBox(height: 340, child: NibResizablePanels(
  direction: Axis.horizontal,
  panels: const [
    NibResizablePanel(minSize: .2, maxSize: .8, child: Center(child: Text('Outline'))),
    NibResizablePanel(minSize: .2, maxSize: .8, child: Center(child: Text('Notes'))),
  ],
))

Playground controls

ControlTypeOptions or rangeHelp
Stack verticallytoggle
Animate handle feedbacktoggle
First panel share (%)number20.0–80.0