All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- update version in readme
- Flutter 3 support and update analysis package (Thanks @jocubeit !)
- upgrade to Fluter 2.5.1
- Allow scroll-to animation curve and duration to be specified
- Added
draggedItemBuilder
allowing you to build the widget that's being dragged
-
maxNumberItems
can be used to limit the number of items in a carousel (this used to be implicitly set to 10). If not set you can add unlimited number of items.
-
addItemAt can now return a bool. Returning true or null indicates that an item was added and that the selected item should be updated. Returning false means that the item ended up not being added, and thus selected item shouldn't be updated.
Seeing as null is an appropriate return value, this won't be a breaking change.
- addItemAt can now be used async. Meaning that onItemSelected won't be called until it completes
- Null safety
- Add parameter
itemWidthFraction
to control how item width is calculated
- Change scroll calculation to accommodate non-fixed item fraction
- Scroll to item getting used on wrong gesture
- Fix clicking on item not scrolling to said item
- Fix image url in readme
- Update pubspec description
- Initial release of package