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

how to add/remove items to list? #4

Open
iamprakash13 opened this issue Jun 27, 2020 · 1 comment
Open

how to add/remove items to list? #4

iamprakash13 opened this issue Jun 27, 2020 · 1 comment

Comments

@iamprakash13
Copy link

i tried using this plugin to move item from one list to other. i followed example in github. but it only shows list headers for me.
i need to add some items to list. how to achieve them. can i add listtile to those list(custom widgets)?

@jakebonk
Copy link
Owner

It should work with ListTile although I haven't tested it. To add items to a list all you need to do is add an item object to the BoardList object. So if your'e using the example code you can change

BoardListObject(title: "List title 1")

To

BoardListObject(title: "List title 1",items:[BoardItemObject(title:"Item title 1")])

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

2 participants