Skip to content
pubscout

overlap_stack

2.0.0, released 3 weeks ago by widgetarian.com

Widgets that partially overlap each other for a compact layout.

WASM-ready
$ flutter pub add overlap_stack
Source repository

What it does

Intelligently stacks widgets allowing them to partially overlap for a compact layout. Provides responsive sizing, horizontal and vertical axes, RTL support, and an overflow counter.

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

Use it when

  • You need to display a compact list of avatars or participants.
  • You want elements to partially overlap in limited screen space.

Skip it when

  • You need a standard non-overlapping row or column layout.

Strengths

  • Pure RenderBox architecture for high performance.
  • Supports both explicit lists and on-demand builders with overflow counters.
  • Native RTL and accessibility support.

Weaknesses

  • Limited to linear overlapping layouts.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
OverlapStack(
  minSpacing: 0.5,
  maxSpacing: 0.8,
  itemSize: const Size(40, 40),
  children: const [
    CircleAvatar(child: Text('A')),
    CircleAvatar(child: Text('B')),
    CircleAvatar(child: Text('C')),
  ],
)