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

Update new_page_error_indicator.dart #336

Open jiankian opened 1 month ago

jiankian commented 1 month ago

fix build ERROR in Flutter 3.7.12 environment;

Pub/Cache/hosted/pub.dev/infinite_scroll_pagination-4.0.0/lib/src/widgets/helpers/default_status_indicators/new_page_error_indicator.dart:15:18: Error: Cannot invoke a non-'const' constructor where a const expression is expected.
Try using a constructor or factory that is 'const'.
          child: Column(
                 ^^^^^^
Target kernel_snapshot failed: Exception
matmicro commented 3 weeks ago

@clragon i was targetting this PR when asking for update on the other thread. Will this be merged also and when does this release will be available on pub.dev ?