flash_list 0.0.2 copy "flash_list: ^0.0.2" to clipboard
flash_list: ^0.0.2 copied to clipboard

A high-performance Flutter ListView widget with pagination, pull-to-refresh, and header features inspired by React Native's FlashList.

README.md #

FlashList #

A high-performance Flutter ListView widget with pagination, pull-to-refresh, and header features inspired by React Native's FlashList.

Features #

  • Optimized performance with minimal rebuilds
  • Pull-to-refresh functionality
  • Infinite scrolling with load more
  • Header support
  • Empty state handling
  • Loading indicators
  • Generic type support
  • Customizable styling

Installation #

dependencies:
  flash_list: ^0.0.1

Usage #

FlashList<String>(
  data: items,
  isLoading: isLoading,
  hasMore: hasMore,
  headerTitle: 'My List',
  onLoadMore: () async {
    // Load more items
  },
  onRefresh: () async {
    // Refresh items
  },
  itemBuilder: (context, item, index) => ListTile(
    title: Text(item),
  ),
)

Documentation #

Full documentation and examples

License #

MIT License - see the LICENSE file for details

CHANGELOG.md #

0.0.1 #

  • Initial release
  • Basic FlashList implementation
  • Pull-to-refresh support
  • Infinite scrolling
  • Header support
  • Loading and empty states
3
likes
150
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A high-performance Flutter ListView widget with pagination, pull-to-refresh, and header features inspired by React Native's FlashList.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flash_list