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
130
pub points
90%
popularity

Publisher

verified publishermono0926.com

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