flutter_chips_choice icon indicating copy to clipboard operation
flutter_chips_choice copied to clipboard

nullable safety and destkop support

Open kechankrisna opened this issue 4 years ago • 1 comments

kechankrisna avatar Mar 22 '21 15:03 kechankrisna

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.

vjrj avatar Mar 27 '21 19:03 vjrj

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.

davigmacode avatar Aug 26 '23 12:08 davigmacode