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 there a way to clear the list #65

Open
wijesijp opened this issue Feb 1, 2023 · 2 comments
Open

Is there a way to clear the list #65

wijesijp opened this issue Feb 1, 2023 · 2 comments

Comments

@wijesijp
Copy link

wijesijp commented Feb 1, 2023

Is there a way to rest or clear this list?

@AlexSeednov
Copy link

@wijesijp Yeah, you can do this by setting key:

  1. Create a key for the list GlobalKey _listKey = GlobalKey();
  2. Set this key to the PaginationView widget key: _listKey,
  3. And when it's necessary to clear list just create a new key _listKey = GlobalKey();

@naimulNoor
Copy link

thank you @AlexSeednov

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

3 participants