sticky_footer_scrollview
1.1.1, released 4 years ago by an unverified publisher
A scrollable Flutter widget with a sticky footer.
What it does
Provides a scrollable widget using SingleChildScrollView and CustomMultiChildLayout that keeps a footer sticky at either the bottom of the screen or the end of the scroll body. It supports dynamic heights for child widgets in the scroll body.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a scrollable view with a footer that sticks to the bottom or the end of the content.
- Your scroll body contains a limited number of child widgets.
Skip it when
- You have a large number of child widgets in the scroll body, due to performance reasons with SingleChildScrollView.
- You require lazy-loaded list views like ListView.builder for massive datasets.
Strengths
- Supports dynamic height of child widgets in the scroll body.
- Footer can stick to the bottom of the screen or the end of the scroll body.
- Includes support for a scrollController.
Weaknesses
- Not recommended for use with lots of child widgets for performance reasons.
- Limited to SingleChildScrollView approach.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
StickyFooterScrollView(
itemCount: 50,
itemBuilder: (context, index) {
return Card(
child: ListTile(
title: Text('content $index'),
),
color: Colors.pinkAccent,
);
},
footer: AppBar(
title: Text('i stick at bottom'),
),
)Alternatives
Packages that do the same job and could replace sticky_footer_scrollview.
- two_dimensional_scrollables
Widgets for two‑dimensional scrolling like TableView and TreeView
94Compare - scroll_to_index
Scroll to a specific child of any scrollable widget in Flutter.
50Compare - slinky_view
A bottom sheet widget that expands upward as the user scrolls.
45Compare - awesome_bottom_bar
A customizable bottom navigation bar with various animated styles.
50Compare