Closed insinfo closed 1 year ago
Same here.
Try reverting to version 3.1.0. It is a warning/error that will need to be fixed. Check offical release for flutter 3 here: https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0#if-you-see-warnings-about-bindings
Try reverting to version 3.1.0. It is a warning/error that will need to be fixed. Check offical release for flutter 3 here: https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0#if-you-see-warnings-about-bindings
It is already fixed in 3.2.0, just need to update Flutter to 3.0
go to file : 'flutter_path'\flutter.pub-cache\hosted\pub.dartlang.org\infinite_scroll_pagination-3.2.0\lib\src\ui\paged_sliver_builder.dart line 254 change WidgetsBinding.instance.addPostFrameCallback... to WidgetsBinding.instance?.addPostFrameCallback...
Same here, I installed 3.1.0 version because I use Flutter 2.10.5.
Im not ready for Flutter 3
Same here, I installed 3.1.0 version because I use Flutter 2.10.5.
Im not ready for Flutter 3
I would also really appreciate a stable fix for Flutter 2 (mine 2.5.2). Don't want to change pub cache every time after running flutter clean
🙃
the fix is to simply not upgrade to 3.2.0. the only change in 3.2.0 is the upgrade to flutter 3. if you are not ready for flutter 3, then use 3.1.0
the fix is to simply not upgrade to 3.2.0. the only change in 3.2.0 is the upgrade to flutter 3. if you are not ready for flutter 3, then use 3.1.0
Have you tested this solution with Flutter 2? I tested with 2.5.2 and 2.10.5 versions but still the same error.
Same here, I installed 3.1.0 version because I use Flutter 2.10.5.
Im not ready for Flutter 3
Did the 3.1.0 version work with Flutter 2.10.5 without any issue? I'm still getting same error.
UPDATE : I got the setup working with Flutter 2.10.5 and version 3.1.0.
The issue I faced:
I was putting infinite_scroll_pagination: ^3.1.0
in pubspec.yaml
and "The ^ symbol before the version number means that you allow any compatible version of the package that is greater than or equal to 3.1.0", so the flutter pub get
command acutally installed the 3.2.0 version. So I had to put infinite_scroll_pagination: 3.1.0
to use the exact version of the package and this solved the issue.
I suggest if you are having the same problem, first run flutter clean
then flutter pub get
then flutter run
I'm getting this error in Flutter 2.10.4