maheshj01 / alphabet_scroll_view

A Scrollable ListView Widget with the dynamic vertical Alphabet List on the Side which you can drag and tap to scroll to the first item starting with that letter in the list.
https://pub.dev/packages/alphabet_scroll_view
MIT License
27 stars 20 forks source link

isAlphabetsFiltered throws error if letter does not exist in list #13

Open nico-i opened 1 year ago

nico-i commented 1 year ago

When setting isAlphabetsFiltered to true, not using string inside of the itemBuilder and then tapping on the alphabet list I receive the following error:

════════ Exception caught by gesture ═══════════════════════════════════════════ Null check operator used on a null value ════════════════════════════════════════════════════════════════════════════════

I am guessing there is no check if the the letter actually exists in the Alphamodel?

maheshj01 commented 1 year ago

Hey @nico-i, Thanks for filing the issue. I have planned to rewrite this package and it's currently being reworked on https://github.com/maheshmnj/alphabet_scroll_view/tree/rework, I will try to ship a new release by the end of this month.

BGomes17 commented 1 year ago

Any news on this issue?