infinite_scroller 1.1.2 copy "infinite_scroller: ^1.1.2" to clipboard
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. hasClients only reports that a ScrollPosition is attached, not that layout has run, so jumpTo/animateTo could reach ScrollPosition.minScrollExtent while 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 hasContentDimensions and clamps the target to the position's real extents. _initializeScrollPosition retries on the next frame (bounded) instead of silently leaving the grid at offset 0, which broke backwards scrolling.
  • InfiniteScrollerController.scrollBy / scrollTo are 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.cacheExtentColumns to control how many columns GridView pre-builds offscreen (default 3, set 0 for low-RAM / cold-start surfaces)

1.1.0 #

  • Added onTabDoubleTap callback for double-tap gestures on section tabs
  • Added onTabLongPress callback 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
0
likes
150
points
165
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A high-performance, infinitely scrolling horizontal grid widget for Flutter. Features synchronized tabs, haptic feedback, controller support, and extensive customization.

Homepage
Repository (GitHub)
View/report issues

Topics

#infinite-scroll #grid #horizontal-scroll #widget #tabs

License

MIT (license)

Dependencies

flutter

More

Packages that depend on infinite_scroller