Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to remove selected item from dropdown #126

Open
waqaryounusjatt788 opened this issue Mar 30, 2021 · 0 comments
Open

is it possible to remove selected item from dropdown #126

waqaryounusjatt788 opened this issue Mar 30, 2021 · 0 comments

Comments

@waqaryounusjatt788
Copy link

waqaryounusjatt788 commented Mar 30, 2021

Hi,
I want to remove item without open dropdown and unchecked item from multiple dialog, i have set custom chip and want to remove item from top, here i am showing an example screen with you.

Source Code of Adding chips:

`
selectedValueWidgetFn: (item) {
return (Center(
child: Card(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
side: BorderSide(
color: Colors.brown,
width: 0.5,
),
),
margin: EdgeInsets.all(12),
child: Padding(
padding: const EdgeInsets.all(8),
child: Chip(
label: Text(
item.toString(),
),
avatar: InkWell(
onTap: () {

                    },
                    child: Icon(
                      Icons.close,
                    ),
                  ),
                ),
              ))));
    },

`

Simulator Screen Shot - iPhone 8 - 2021-03-30 at 12 37 16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant