expandable_sliver_list 3.0.0 expandable_sliver_list: ^3.0.0 copied to clipboard
A sliver List that you can then either expand or collapse, in order to show or hide the contents of the list.
Changelog #
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.
[3.0.0] - 2020-09-18 #
Added #
- Added
insertItems()
to controller, which takes a list of items, and a list of indices to insert them at - Pass the index of the item into the builder (break change)
- Added some null-safety to the controller
- Added
setItems()
to controller, which takes a list of items to replace the controller and list state's lists.
Changed #
- When expanding on initial insertion, don't called
expand()
, just set the status
Fixed #
- Index out of bounds protection in internal list builder
[2.1.1] - 2020-09-11 #
- Initialize expandOnInitialInsertion in controller
[2.1.0] - 2020-09-10 #
- Add param to expand list when initial item is added
[2.0.1] - 2020-09-10 #
- Added null protection for adding/removing items to a list. Allows one to add or remove items to a list that hasn't been built.
[2.0.0] - 2020-09-03 #
- Add ability to insert and remove items from the list
- Restructured internals so that the controller does most of the work, as opposed to the widget
[1.0.0+2] - 2020-08-27 #
- Make longer description for more pub points :)
[1.0.0+1] - 2020-08-27 #
- Use correct package URL in readme
[1.0.0] - 2020-08-27 #
- Initial release for the ExpandableSliverList
- Create flutter test automation and code coverage