Sitelet https://github.com/Dn-a/flutter_tags/issues/80
Skip to content

Several Issues, and feature request #80

Description

@Umar-Khan-Yousafzai

First of all, Thank you for creating this package.
There are the following issues.

1) How can I unselect all items?

as you can see in the image below I have tags and there are two buttons one is reset and the other updates.
I want to reset the selected tags to unselected when I click the reset button.
image

  1. I want to add the selected items in a list. I have achieved this behavior by calling onPressed()
onPressed: (i) {
                          itemsadded.add(i);
                       },

Now Issue is if a user selects and deselects an item. The item gets added twice. I tried i.active==true property but still no use. I tried to remove an item at the index. But Can't understand the functionality on how can I do such a thing.

  1. Is it possible for you to add "get_selected_items" in addition to get_all_items. in your tag key.? That will be super easy for people to get their items.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions