kranfix / riverbloc

`flutter_bloc` implemented with `riverpod` instead of `provider`.
83 stars 16 forks source link

Support null safety #38

Closed tlvenn closed 3 years ago

tlvenn commented 3 years ago

Hi @kranfix,

I believe all the ecosystem that these 2 libraries depend on are now providing null safety version so it seems we should be able to do the same.

kranfix commented 3 years ago

I'm working in the migration.

kranfix commented 3 years ago

Bloc 7 (with null-safety) has breaking changes. This changes make the difficult to propose an easy API. This package will suffer breaking changes in consequence.

tlvenn commented 3 years ago

How about publishing with a major version bump as well like they did then ? If people using this package are not ready to jump to the null safety boat, they can keep the current one.

kranfix commented 3 years ago

Well, the API has to be as simple as possible. I had to read the new implementation of Bloc to be sure of the new implementation of riverbloc would work.

In fact, in this moment I just need to add more test and I'll be publishing it today (depending on the timezone).