infinite_scroller 1.1.2
infinite_scroller: ^1.1.2 copied to clipboard
A high-performance, infinitely scrolling horizontal grid widget for Flutter. Features synchronized tabs, haptic feedback, controller support, and extensive customization.
1.1.2 #
- Fixed a crash when the scroller was driven before its grid had laid out.
hasClientsonly reports that aScrollPositionis attached, not that layout has run, sojumpTo/animateTocould reachScrollPosition.minScrollExtentwhile it was still null and throw "Null check operator used on a null value". Seen in production on slow first frames. - All programmatic scrolling now requires
hasContentDimensionsand clamps the target to the position's real extents._initializeScrollPositionretries on the next frame (bounded) instead of silently leaving the grid at offset 0, which broke backwards scrolling. InfiniteScrollerController.scrollBy/scrollToare now safe to call before first layout; they no-op instead of throwing.- Tapping a tab during the first frame no longer leaves scroll syncing permanently disabled.
1.1.1 #
- Added
GridConfig.cacheExtentColumnsto control how many columnsGridViewpre-builds offscreen (default3, set0for low-RAM / cold-start surfaces)
1.1.0 #
- Added
onTabDoubleTapcallback for double-tap gestures on section tabs - Added
onTabLongPresscallback for long-press gestures on section tabs - Updated example app to demonstrate new tab gesture callbacks
1.0.0 #
- Initial release
- Infinite horizontal scrolling with seamless looping
- Synchronized tab bar with auto-selection
- Programmatic navigation via
ScrollerController - Configurable tab bar, grid, and haptic settings
- Generic type support for custom data models
- RTL/LTR text direction support
- Loading and empty state widgets
- Haptic feedback on interactions