horizontal_list
0.0.7, released 4 years ago by dansplab.com
A Flutter widget that shows a horizontal list with next/previous buttons.
What it does
It renders a row of child widgets that can be scrolled horizontally. Navigation is provided by optional next and previous icon buttons, with optional manual scrolling and animation control.
AI-written summary of version 0.0.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a simple carousel-like list without external paging logic
- You want built‑in next/previous buttons and easy customization of icons and animation
Skip it when
- You require lazy loading or infinite scrolling for large data sets
- You need advanced paging, snapping, or complex animations
- You need platform‑specific carousel features not provided
Strengths
- Very easy to integrate – just add the widget
- Built‑in next/previous controls and customizable icons
- Supports manual scroll toggle and simple animation parameters
Weaknesses
- Limited to small static lists – no lazy loading
- No advanced carousel features like snapping or infinite scroll
- Customization is limited to provided parameters
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
HorizontalListView(
width: double.maxFinite,
height: 200,
list: [Text('Text 1'), Text('Text 2')],
iconNext: Icon(Icons.arrow_forward_ios),
iconPrevious: Icon(Icons.arrow_back_ios),
curveAnimation: Curves.bounceIn,
durationAnimation: Duration(milliseconds: 300),
enableManualScroll: true,
onNextPressed: () => print('On next pressed'),
onPreviousPressed: () => print('On previous pressed'),
);Alternatives
Packages that do the same job and could replace horizontal_list.
- country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - flutter_reorderable_list
Reorderable list for Flutter supporting slivers and large items
50Compare - rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare