When using the MultiSelectableDropDown widget with pagination, the dropdown items do not update correctly when scrolling to the end to load more items. The API call is made and new data is received, but the dropdown list does not refresh with the new items.
Steps to Reproduce:
Implement the MultiSelectableDropDown widget with async item loading and pagination.
Scroll to the bottom of the dropdown list to trigger the onEndReached event.
Observe that the API call is made, new data is fetched, but the dropdown does not update with the new items.
Expected Behavior:
The dropdown should remain open and display the newly loaded items at the end of the list.
Actual Behavior:
The dropdown does not refresh with the new items. The list remains the same.
When using the MultiSelectableDropDown widget with pagination, the dropdown items do not update correctly when scrolling to the end to load more items. The API call is made and new data is received, but the dropdown list does not refresh with the new items.
Steps to Reproduce:
Implement the MultiSelectableDropDown widget with async item loading and pagination. Scroll to the bottom of the dropdown list to trigger the onEndReached event. Observe that the API call is made, new data is fetched, but the dropdown does not update with the new items.
Expected Behavior: The dropdown should remain open and display the newly loaded items at the end of the list.
Actual Behavior: The dropdown does not refresh with the new items. The list remains the same.
Dropdown Implementation:
Scroll Controller:
Container Builder:
Cubit Functions: