nullable safety and destkop support
This works great in my side, something I cannot say of #21 that didn't worked for me.
Only a minor comment that I did in this coment of the other PR https://github.com/davigmacode/flutter_chips_choice/pull/21#issuecomment-802834004
To make it work like the previous version, I had to add a ? in custom choice Builder return Widget In types.dart
that was optional (you can provide some custom build in some cases or use the default one):
import 'package:flutter/widgets.dart';
import 'choice_item.dart';
/// Callback when the value changed
typedef void C2Changed<T>(T value);
/// Callback to load the choice items
typedef Future<List<C2Choice<T>>> C2ChoiceLoader<T>();
/// Builder for custom choice item
typedef Widget? C2Builder<T>(C2Choice<T> item);
//// Here ^^^
////////////////////////////
Anyway, thanks indeed.
Hi everyone,
I'm sorry to announce that I'm no longer maintaining the chips_choice package. It's been a great project, but it's become too difficult to maintain.
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 chips_choice.
Thanks for your understanding.