extended_list
3.0.2, released 2 years ago by fluttercandies.com
Extended list widgets with garbage collection, viewport tracking and trailing layout support.
WASM-ready
What it does
Provides ListView/GridView variants that can track which items enter the viewport, collect garbage indexes, and layout the last child specially (e.g., load‑more footers). It also offers a close‑to‑trailing option for reverse lists.
AI-written summary of version 3.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to know which items are visible for cache management
- You want automatic load‑more/footer handling at the end of a list
- You require a list that stays close to the trailing edge when reversed
Skip it when
- A plain ListView/GridView is sufficient
- You need a lightweight solution without extra delegate logic
Strengths
- Viewport and garbage‑collection callbacks
- Customizable last‑child layout types
- Close‑to‑trailing behavior for chat‑style lists
Weaknesses
- Adds extra delegate complexity
- Documentation is limited to README examples
- Only works on Flutter platforms
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
ExtendedListView.builder(
extendedListDelegate: ExtendedListDelegate(
collectGarbage: (garbages) => print('collect garbage: $garbages'),
viewportBuilder: (first, last) => print('viewport: [$first,$last]'),
closeToTrailing: true,
),
itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
itemCount: 100,
);Alternatives
Packages that do the same job and could replace extended_list.
- custom_adaptive_scaffold
Drop-in adaptive Material 3 scaffolding and responsive layout widgets for Flutter apps.
76Compare
Works with
Packages commonly used together with extended_list: ones it builds on, ones built on it, and its own family.
- extended_imageSame familyExtended image library with caching, placeholders, zoom/pan, slide-out, and crop editor.
- extended_image_librarySame familyImage handling library with extended features like caching, zoom, editor, and placeholder support.
- extended_text_librarySame familyProvides extended Text and TextField widgets with inline images, custom backgrounds, and advanced selection handling.
- extended_textSame familyAn extension of Flutter's official Text widget for special inline content and custom overflow.
- extended_nested_scroll_viewSame familyExtended nested scroll view to fix pinned header and inner scrollables sync issues.
- extended_text_fieldSame familyExtended text field to quickly build inline images, @mentions, custom backgrounds and selection tools.
- extended_tabsSame familyAn extension library for Flutter Tabs, TabBar, and TabView with advanced scrolling support.
- extended_sliverSame familyA powerful extension library of Sliver with custom headers and adapters.