github felangel/bloc flutter_bloc-v6.1.0

latest releases: bloc_tools-v0.1.0-dev.6, replay_bloc-v0.2.7, hydrated_bloc-v9.1.5...
3 years ago
  • feat: add optional listen to BlocProvider and RepositoryProvider
  • feat: add context.select<T, R>(R Function(T value)) which allows widgets to listen to only a small part of the state of T (R).
  • feat: add context.watch<T>() which allows widgets to listen to changes in the state of T
  • feat: add context.read<T>() which allows widgets to access T without listening for changes
  • deprecated: context.bloc in favor of context.read and context.watch
  • deprecated: context.repository in favor of context.read and context.watch
  • fix: rethrow ProviderNotFoundException from RepositoryProvider for external dependencies
  • docs: improve inline documentation for BlocProvider and RepositoryProvider
  • docs: update list of examples in README

Don't miss a new bloc release

NewReleases is sending notifications on new releases.