koukibadr / Bottom-Picker

https://pub.dev/packages/bottom_picker
MIT License
32 stars 21 forks source link

Update bottom_picker.dart #21

Closed DevYahia closed 2 years ago

DevYahia commented 2 years ago

Fixed the issue where selectedItemIndex is rendered useless. For example: When the user opens the dialog providing a selectedItemIndex = 1, the widget will always set this value to 0, so if the user didn't change the selected item it will return 0.

koukibadr commented 2 years ago

Thanks @DevYahia for your contribution I will update the documentation and publish a new version