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

controller not working properly #161

Open
KaranChoudhary8 opened this issue Sep 24, 2024 · 0 comments
Open

controller not working properly #161

KaranChoudhary8 opened this issue Sep 24, 2024 · 0 comments

Comments

@KaranChoudhary8
Copy link

KaranChoudhary8 commented Sep 24, 2024

controller.setItems()
controller.selectWhere()
controller.selectIndex()

i aim is to fetch select items from database store earlier ...

so i am using this methods but these are not working

error i get during controller.setItem() is:
The following assertion was thrown while dispatching notifications for
MultiSelectController:
Assertion failed:
file:///C:/Softwares/Flutter/flutter/packages/flutter/lib/src/widgets/overlay.dart:1582:12
SchedulerBinding.instance.schedulerPhase != SchedulerPhase.persistentCallbacks
is not true
MultiSelectController sending notification was:
MultiSelectController(options: [ValueItem(label: hero, value: Instance of 'MyModelClass', disabled: false, selected: true), ValueItem(label: employee, value: Instance of 'MyModelClass', disabled: false, selected: true)], open: false)

and in case of controller.selectWhere() and controller.selectIndex().... Nothing happens no error no nothing

@KaranChoudhary8 KaranChoudhary8 changed the title Dear Developer... controller not working properly Sep 24, 2024
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