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

ItemScrollController attached #509

Open
danishrafiqe opened this issue Dec 18, 2023 · 1 comment
Open

ItemScrollController attached #509

danishrafiqe opened this issue Dec 18, 2023 · 1 comment

Comments

@danishrafiqe
Copy link

when this controller is attached to list ???
my problem is i want to scroll a list that is future means data is come late but when my data is populated i call this
if (itemScrollController.isAttached) {
if (chatMessageList.isNotEmpty) {
itemScrollController.scrollTo(
index: chatMessageList.length - 1,
duration: Duration(seconds: 1),
curve: Curves.easeInOutCubic);
}
}
BUT itemScrollController.isAttached is not attached why ???

@hanskokx
Copy link

I'm having a similar issue where changing orientation of my device causes the ItemScrollController to become detached.

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