- feat: add optional
listen
toBlocProvider
andRepositoryProvider
- feat: add
context.select<T, R>(R Function(T value))
which allows widgets to listen to only a small part of the state ofT
(R
). - feat: add
context.watch<T>()
which allows widgets to listen to changes in the state ofT
- feat: add
context.read<T>()
which allows widgets to accessT
without listening for changes - deprecated:
context.bloc
in favor ofcontext.read
andcontext.watch
- deprecated:
context.repository
in favor ofcontext.read
andcontext.watch
- fix: rethrow
ProviderNotFoundException
fromRepositoryProvider
for external dependencies - docs: improve inline documentation for
BlocProvider
andRepositoryProvider
- docs: update list of examples in
README