lazy_wrap 0.0.1 copy "lazy_wrap: ^0.0.1" to clipboard
lazy_wrap: ^0.0.1 copied to clipboard

A Flutter widget that mimics Wrap layout behavior with lazy rendering using ListView.builder.

lazy_wrap #

A Flutter widget that combines the layout behavior of Wrap with the performance of ListView.builder.

Perfect for displaying cards or widgets in multiple columns with efficient vertical scrolling.

🚀 Quick Example #

LazyWrap(
  itemCount: items.length,
  itemBuilder: (context, index) => ProductCard(item: items[index]),
  itemWidth: 120,
  spacing: 8,
  runSpacing: 8,
)

🎯 Features #

  • Lazy scroll (only renders visible items)
  • Wrap-style layout
  • Responsive to available width
  • Customizable spacing
  • Supports ScrollController, padding, and shrinkWrap

📦 Installation #

Add it to your pubspec.yaml:

dependencies:
  lazy_wrap: ^0.0.1
19
likes
0
points
184
downloads

Publisher

verified publisherhensell.dev

Weekly Downloads

A Flutter widget that mimics Wrap layout behavior with lazy rendering using ListView.builder.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on lazy_wrap