bloc_provider 1.0.0 copy "bloc_provider: ^1.0.0" to clipboard
bloc_provider: ^1.0.0 copied to clipboard

Provides bloc to descendant widget (O(1)), and the bloc is disposed appropriately by state which the bloc_provider holds internally.

1.0.0 #

  • Migrate to null safety

0.7.0 #

  • Update dependencies.

0.6.2 #

  • Add allowNull argument, which suppress the error when the provider is not found, to BlocProvider's of method.

0.6.1 #

  • Enhance error handling when ancestorInheritedElementForWidgetOfExactType is null

0.6.0 #

  • Add readable missing BlocProvider error.(#9)
  • Make it possible to use BlocProvider.builder's context to retrieve a Bloc provided in creator.(#10)

0.5.0 #

  • Add BlocProviderTree Widget (#4, #5)
    • Converts the BlocProvider list into a tree of nested BlocProvider widgets.

0.4.0 #

  • Change to BlocProvider.fromBloc from BlocProvider.unmanaged
  • Add BlocProvider.fromBlocContext constructor

0.3.0 #

  • Add BlocProvider.unmanaged constructor

0.2.1 #

  • Update README

0.2.0 #

  • Update documentation

0.1.0 #

  • Initial Release
24
likes
150
points
9.69k
downloads

Publisher

verified publishermono0926.com

Weekly Downloads

Provides bloc to descendant widget (O(1)), and the bloc is disposed appropriately by state which the bloc_provider holds internally.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on bloc_provider