2.0.0-nullsafety.0 - Jan 20, 2021
hoc081098
released this
20 Jan 17:55
·
35 commits
to master
since this release
- Migrate this package to null safety.
- Sdk constraints:
>=2.12.0-0 <3.0.0
based on beta release guidelines. - Depends on flutter_provider package.
So bloc will be created lazy i.e. on the first access. - Added extension
BuildContext.bloc<T>({bool listen = false})
. It is identical withBlocProvider<T>.of(BuildContext, {bool listen = false})
. - Changed signature of
builder
inRxStreamBuilder(builder: )
constructor toWidget Function(BuildContext, T?)
.
Previous signature isWidget Function(BuildContext, AsyncSnapshot<T>)
. - Fixed many issues.
- Many improvements.