Skip to main content

overlap_stack 2.0.0 copy "overlap_stack: ^2.0.0" to clipboard
overlap_stack: ^2.0.0 copied to clipboard

Intelligently stacks your widgets, allowing them to partially overlap for a compact and visually interesting layout.

2.0.0 #

  • Pure RenderBox Architecture: Introduced RenderOverlapStack and RawOverlapStack eliminating LayoutBuilder and Stack overhead for explicit child stacks.
  • Native Intrinsic Dimensions: Full support for IntrinsicWidth, IntrinsicHeight, DataTable, and parent measurement protocols without crashes.
  • Granular Hit-Testing: Native hit testing delegation ordered according to leadIndex z-ordering.
  • Expanded Test Suite: Comprehensive 32 widget and unit tests with >97% code coverage and 0 static analysis issues.

1.2.0 #

  • Add semanticsLabel parameter and automatic Semantics wrapper for full accessibility (a11y) support.
  • Add OverlapStack.gap and OverlapStack.gapBuilder constructors for intuitive pixel-based gap constraints.
  • Maintain 100% test coverage across all features and edge cases (23 tests).

1.1.0 #

  • Add native bidirectional / RTL (Right-to-Left) support via Directionality and Positioned.directional.
  • Add shrinkWrap property to automatically shrink the stack extent along the main axis to fit only visible items.
  • Pass explicit itemSize constraints to child positioned items.
  • Achieve 100% line coverage with expanded test suite (20 comprehensive tests).

1.0.2 #

  • Fix divide-by-zero crash (NaN offset) when exactly 1 item is displayed.
  • Fix runtime crash with unbounded constraints (now safely renders inside Row, Column, and scroll views).
  • Fix OverlapStack.builder assert failure when itemLimit > itemCount.
  • Add clipBehavior property to configure underlying Stack clipping.
  • Add comprehensive widget tests and achieve >96% line coverage.
  • Improve documentation, parameter descriptions, and docstrings.

1.0.1 #

  • Adjust sdk constraints
  • Update example

1.0.0 #

  • Creates an overlapping stack, linear array of widgets from an explicit [List].
  • Creates an overlapping stack from linear array of widgets that are created on demand.
8
likes
160
points
933
downloads

Documentation

API reference

Publisher

verified publisherwidgetarian.com

Weekly Downloads

Intelligently stacks your widgets, allowing them to partially overlap for a compact and visually interesting layout.

Homepage
Repository (GitHub)
View/report issues

Topics

#ui #stack #overlap #avatar #widgetarian

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on overlap_stack