PackageTrack
Sign in Get early access

better_chat_scrolling_ai

Drop-in chat scrolling widget for AI chat apps with correct reversed-list behavior, dynamic padding, and auto-scroll management.

0.2.3 Daan-hub/better_chat_scrolling_ai

What this package is like to depend on

Last release 5 months ago

26 Mar 2026

Too new to tell

only 1 release windows

Nearly every release is documented

notes for 12 of 13 stable releases

Nothing withdrawn

no release was ever pulled

5 months old

13 releases · first in 2026

13 releases in the last 12 months

see the full history below

Release timeline

13 releases · Mar 2026 to Mar 2026
Release Pre-release

Releases

latest 13
  1. 0.2.3 26 Mar 2026
    Release notes
    • Fix scroll-to-bottom button incorrectly showing when keyboard opens
    • Fix error when pressing scroll-to-bottom button multiple times rapidly — guard against concurrent scroll animations
    • Add hideScrollToBottomWhenKeyboardOpen parameter on BetterChatScrollView (default: true) — hides the button while the keyboard is visible
    Open source →
  2. 0.2.2 26 Mar 2026
    Release notes
    • Animate scroll to exchange on new user message — replaces instant jumpTo with smooth scrollTo
    • Add configurable scrollToExchangeDuration and scrollToExchangeCurve on ChatScrollController
    • Fix overscroll bounce during animated exchange scroll with BouncingScrollPhysics — adaptive physics clamps overscroll during programmatic scrolls while preserving bounce for user scrolls
    Open source →
  3. 0.2.1 26 Mar 2026

    Nothing published for this version

  4. 0.2.0 26 Mar 2026
    Release notes
    • Fix scrollToBottomThreshold not working for large values — button now correctly respects threshold when anchor item is off-screen
    • Fix keyboard viewport adjustment using near-instant 16ms animation — now uses configurable smooth 150ms transition
    • Document auto-follow 16ms as intentional — minimum valid duration for frame-synced tracking (animateScroll requires > Duration.zero)
    • Add showScrollToBottomButton toggle on BetterChatScrollView (default: true)
    • Add configurable scrollToBottomDuration, scrollToBottomCurve, showButtonDebounce, keyboardAdjustDuration, and autoFollowDeltaThreshold on ChatScrollController
    • Add configurable scrollToBottomFadeDuration and physics on BetterChatScrollView
    • Fix separator logic duplication in _buildItem
    • Remove unused MeasureSize widget
    Open source →
  5. 0.1.8 25 Mar 2026
    Release notes
    • Fix keyboard not pushing content up when viewing long messages in existing chats
    Open source →
  6. 0.1.7 24 Mar 2026
    Release notes
    • Fix double-jump when onNewUserMessage() is called on initial mount (e.g. initState + postFrameCallback)
    Open source →
  7. 0.1.6 24 Mar 2026
    Release notes
    • Fix first message not scrolling to top in empty chats when using async state managers (Riverpod, Bloc, etc.)
    • Add empty chat example with placeholder UI
    Open source →
  8. 0.1.5 24 Mar 2026
    Release notes
    • Add Android platform support to example app
    Open source →
  9. 0.1.4 24 Mar 2026
    Release notes
    • Fix scroll-to-bottom threshold not working — anchor now 1px tall so ItemPositionsListener always reports it
    • Fix scroll-to-bottom button briefly flashing on send — debounce show by 150ms
    • Replace scrollToBottomWidget with scrollToBottomBuilder — builder receives the onPressed callback
    Open source →
  10. 0.1.3 24 Mar 2026
    Release notes
    • Fix race condition when onAIResponseStarted() fires before onNewUserMessage() — order-independent buffering
    • Make exchangeCount reactive via exchangeCountNotifier (ValueNotifier) — works with Riverpod, Bloc, etc.
    • Fix layout jump when AI response completes or follow-up content loads
    • Fix scroll-to-bottom not reaching true bottom — accounts for list bottom padding
    • Fix scrollToBottomThreshold not being used — button now respects threshold before appearing
    • Fix scroll-to-bottom button briefly flashing when sending a message
    • Fix chat not starting at true bottom when opened
    • Add auto-follow mode: pressing scroll-to-bottom during streaming keeps viewport at bottom; touch/drag cancels immediately
    • Add autoFollowOnScrollToBottom parameter on ChatScrollController (default: true)
    • Add scrollToBottomBuilder — custom button builder that receives the onPressed callback
    • Add scrollToBottomAlignment — position button left, center (default), or right
    • Add scrollToBottomBottomOffset — control distance from bottom edge (default: 8)
    • scrollToBottom() is now async (returns Future<void>)
    Open source →
  11. 0.1.2 24 Mar 2026
    Release notes
    • Fix race condition when onAIResponseStarted() fires before onNewUserMessage()
    • Make exchangeCount reactive via exchangeCountNotifier (ValueNotifier)
    Open source →
  12. 0.1.1 24 Mar 2026
    Release notes
    • Fix layout jump when AI response completes or follow-up content loads
    Open source →
  13. 0.1.0 24 Mar 2026
    Release notes
    • Initial release
    • BetterChatScrollView widget with generic message type support
    • ChatScrollController for managing scroll state during AI streaming
    • Exchange grouping: user message pins to top, AI response grows downward
    • Automatic scroll-to-bottom button with customizable widget
    • Stable viewport when user is scrolled up during streaming
    • Keyboard-aware layout handling
    • Separator builder support
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive