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

Error with the restorationId #6

Closed
vexa opened this issue Oct 19, 2020 · 1 comment
Closed

Error with the restorationId #6

vexa opened this issue Oct 19, 2020 · 1 comment

Comments

@vexa
Copy link

vexa commented Oct 19, 2020

hi i got the following error when i use your component

.org/infinite_scroll_pagination-2.2.0/lib/src/ui/paged_grid_view.dart:65:11: Error: No named parameter with the name 'restorationId'.
restorationId: restorationId,

@EdsonBueno
Copy link
Owner

Hi @vexa . That's because you're not using the latest stable Flutter version. You have two alternatives:

  1. Upgrading your Flutter to the latest stable version (1.22).
  2. Downgrading the infinite_scroll_pagination package in your pubspec.yaml to version 2.1.0+1.

I strongly recommend the first, because you'll have to do it anyway at one point.

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