Bloc: bug in example of infinite_list

Created on 29 Jul 2019  路  2Comments  路  Source: felangel/bloc

Describe the bug
https://github.com/felangel/bloc/blob/master/examples/flutter_infinite_list/lib/main.dart

Line 52:

return BlocBuilder<PostBloc, PostState>(

The should be , and add bloc parameter in the BlocBuilder.

To Reproduce
Steps to reproduce the behavior:

  1. download the example of infinite_list.
  2. flutter run

Expected behavior
app should be run normally.

Screenshots
none

*Logs *
none

Additional context
none

question

Most helpful comment

Update your flutter_bloc to 0.20.0 version

All 2 comments

Update your flutter_bloc to 0.20.0 version

ok. thanks.

Was this page helpful?
0 / 5 - 0 ratings