github felangel/bloc flutter_bloc-v6.1.0

latest releases: angular_bloc-v10.0.0-dev.4, intellij_bloc-v4.0.2, flutter_bloc_feature_brick-v0.3.2...
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.