expandable_sliver_list 4.0.0+2 expandable_sliver_list: ^4.0.0+2 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.0.1 - 2020-09-10 #
Fixed #
- 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.