sliver_expansion 0.2.1 copy "sliver_expansion: ^0.2.1" to clipboard
sliver_expansion: ^0.2.1 copied to clipboard

Sliver expansion primitives for Flutter (SliverExpansible + SliverExpansionTile).

0.2.1 #

  • Fix: scroll offset corrections requested by a lazy body sliver (e.g. SliverList re-estimating its extent) are now propagated to the viewport instead of being swallowed, preventing scroll position corruption.
  • Fix: SliverExpansionTile no longer leaks a CurvedAnimation on every rebuild when using eager children.
  • Fix: changing SliverExpansible.bodyRevealMode on an existing widget now correctly creates/disposes the internal reveal animation.
  • Improvement: when fully expanded, the body sliver geometry is passed through unchanged (preserves maxPaintExtent, paintOrigin, hasVisualOverflow, and avoids a redundant second layout and clip per frame).
  • Improvement: Android semantics parity with ExpansionTile — the live region announcing expansion state changes is excluded from accessibility focus traversal (AccessibilityFocusBlockType.blockNode).

0.2.0 #

  • Fix Gif demo url not show in pub.dev

0.1.0 #

  • Initial release.
  • Add SliverExpansible + SliverExpansibleController (expand/collapse a body sliver with animation).
  • Add SliverExpansionTile (Material-style sliver expansion tile with optional pinned header and lazy children).
2
likes
160
points
89
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Sliver expansion primitives for Flutter (SliverExpansible + SliverExpansionTile).

Repository (GitHub)
View/report issues

Topics

#sliver #expansion #flutter #ui

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sliver_expansion