multi_select_flutter icon indicating copy to clipboard operation
multi_select_flutter copied to clipboard

Fix #12 change selected items programmatically

Open niccord opened this issue 4 years ago • 6 comments

This should fix #12, maybe #68 (I think so but it's debatable), and be back-compatible.

Basically, I added a controller class that can be controller from outside of the widget itself, allowing the developer, as shown in the example app, to add a clear button, for example.

niccord avatar Oct 18 '21 00:10 niccord

could you please also provide an updated readme file?

lgwds avatar Nov 03 '21 17:11 lgwds

Great, thanks for the quick update. Please approve this PR asap

lgwds avatar Nov 04 '21 21:11 lgwds

I am somewhat suspecting the maintainer of the project to be idle and not active anymore as the last commit and approved PR are quite a while ago. Niccord, would you like to fork the project and be the new maintainer? I am happy to help if needed

lgwds avatar Nov 04 '21 21:11 lgwds

I am not sure if the maintainer is ok with this and how to technically become the mantainer in their place.

niccord avatar Nov 29 '21 08:11 niccord

Worked for me only after changing return _MultiSelectDialogFieldView<V?>._withState(field as _MultiSelectDialogFieldView<V?>, state); to return _MultiSelectDialogFieldView<V>._withState(field as _MultiSelectDialogFieldView<V>, state); Otherwise, the onConfirm is not working.

ronytesler avatar Feb 23 '22 18:02 ronytesler

@niccord conflicted

shinriyo avatar Jul 26 '24 02:07 shinriyo