akbarpulatov / flutter_awesome_select

Forked from https://github.com/davigmacode/flutter_smart_select, updated legacy code, migrated to null safety and more. AwesomeSelect allows you to easily convert your usual form select or dropdown into dynamic page, popup dialog, or sliding bottom sheet with various choices input such as radio, checkbox, switch, chips, or even custom input. Supports single and multiple choice.
https://pub.dev/packages/awesome_select
MIT License
48 stars 56 forks source link

API reference does not align with Usage section on front page of pub dev site #46

Open danarteaga opened 2 years ago

danarteaga commented 2 years ago

I had to migrate from smart_select to this package, because the author of the latter package has apparently abandoned it. Interestingly, it appears that the github repo (https://github.com/davigmacode/flutter_smart_select) for his latest smart_select version (4.3.2) does not align with version on pub dev (https://pub.dev/packages/smart_select). I say this because flutter_awesome_select forks off of his github repo, and these issues have carried over.

Under the Usage section on pub dev (for both smart_select and flutter_awesome_select) there is an option for 'activeColor' for S2ChoiceStyle. I had been using this just fine with smart_select: ^4.3.2 in my pubspec.yaml. However, after switching to this library, even though this parameter is still listed under the Usage section on the main pub dev page, it is clearly not available in the API reference, and it appears that this now now 'highlightColor' https://pub.dev/documentation/flutter_awesome_select/latest/flutter_awesome_select/S2ChoiceStyle-class.html

Breaking changes that I've found: