flutter_smart_select
flutter_smart_select copied to clipboard
Upgrade to null safety
Is there someone working on this? If no one, I would not mind tackling it.
This is necessary
Is there someone working on this? If no one, I would not mind tackling it.
Any progress?
I've created PR https://github.com/davigmacode/flutter_smart_select/pull/82 but this is a WIP. If anyone can figure out what's causing the error, I need your help.
I've fixed all failure tests!!
If you would like to use it before merging, set the git repository URI to your pubspec.yaml
smart_select:
git:
url: [email protected]:iktakahiro/flutter_smart_select.git
ref: null-safety
I've fixed all failure tests!!
If you would like to use it before merging, set the git repository URI to your pubspec.yaml
smart_select: git: url: [email protected]:iktakahiro/flutter_smart_select.git ref: null-safety
Could you share to public?
@celvinren thanks for your mention.
It's a public repository. https://github.com/iktakahiro/flutter_smart_select/tree/null-safety
if Permission denied
error occurs when pub get
, that may be due to the cache.
Or try the following
smart_select:
git:
url: https://github.com/iktakahiro/flutter_smart_select.git
ref: null-safety
Seems as if there are some breaking changes with the git link. e.g This used to work
SmartSelect<CountryCode>.single(
value: ...,
but now value
isn't defined
Among others like state.value
and state.valueDisplay
not being defined.
Is there documentation for what has changed?
Seems as if there are some breaking changes with the git link. e.g This used to work
SmartSelect<CountryCode>.single( value: ...,
but now
value
isn't defined Among others likestate.value
andstate.valueDisplay
not being defined. Is there documentation for what has changed?
value
has been replaced with selectedValue
I found it in the history of commit.
Seems as if there are some breaking changes with the git link. e.g This used to work
SmartSelect<CountryCode>.single( value: ...,
but now
value
isn't defined Among others likestate.value
andstate.valueDisplay
not being defined. Is there documentation for what has changed?
value
has been replaced withselectedValue
I found it in the history of commit.
Can you please guide me on how to? I have been going through the commit looking for those syntax changes and I have not been successful
I released https://pub.dev/packages/flutter_awesome_select with fixed null safety. Could you check that everything works for you?
Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.