extended_sliver
2.1.3, released 5 years ago by fluttercandies.com
A powerful extension library of Sliver with custom headers and adapters.
What it does
Provides customized sliver widgets including SliverPinnedPersistentHeader, SliverPinnedToBoxAdapter, ExtendedSliverAppbar, and SliverToNestedScrollBoxAdapter. It allows automatic calculation of extents without forcing values like minExtent, maxExtent, or expandedHeight.
AI-written summary of version 2.1.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a pinned sliver header without knowing its final extent beforehand.
- You are building custom scroll views with SliverAppbars that don't require forcing expandedHeight.
- You need to embed nested scrollable widgets like WebViews inside a CustomScrollView.
Skip it when
- Standard Flutter slivers and app bars fully meet your layout requirements.
Strengths
- Calculates minExtent and maxExtent automatically using prototypes.
- Simplifies creation of pinned sliver boxes and custom app bars.
- Supports nested scrolling inside custom scroll views.
Weaknesses
- Relies on custom sliver render objects which might need careful handling for edge cases.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SliverPinnedToBoxAdapter(
child: Container(
padding: const EdgeInsets.all(20),
color: Colors.blue.withOpacity(0.5),
child: const Text('Pinned Sliver Content'),
),
)Alternatives
Packages that do the same job and could replace extended_sliver.
- flutter_rating_bar
A fully customizable rating bar and indicator widget supporting fractions and vertical layout.
50Compare - sticky_and_expandable_list
Grouped list with sticky headers and expandable sections for CustomScrollView
50Compare - loading_more_list
A loading more list supporting ListView, GridView, WaterfallFlow and Slivers.
50Compare - app_bar_with_search_switch
AppBar that toggles into a search field with optional animations
43Compare
Works with
Packages commonly used together with extended_sliver: 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_listSame familyExtended list widgets with garbage collection, viewport tracking and trailing layout support.