sliver_expansion 0.2.1
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.
SliverListre-estimating its extent) are now propagated to the viewport instead of being swallowed, preventing scroll position corruption. - Fix:
SliverExpansionTileno longer leaks aCurvedAnimationon every rebuild when using eagerchildren. - Fix: changing
SliverExpansible.bodyRevealModeon 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).
