EdsonBueno / infinite_scroll_pagination

Flutter package to help you lazily load and display pages of items as the user scrolls down your screen.
https://pub.dev/packages/infinite_scroll_pagination
MIT License
623 stars 210 forks source link

Flutter 2.10.5 android build fix #201

Closed parajuliamit closed 2 years ago

parajuliamit commented 2 years ago

infinite_scroll_pagination-3.2.0/lib/src/ui/paged_sliver_builder.dart:254:33: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null. added null checker

appinteractive commented 2 years ago

This would break Flutter 3.0 again. Here is a hint how to account for it with backward compatibility:

https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0

At least I think that is what is happening here due to #193

For now, you should stick to 3.1.0