bloc 0.7.4 copy "bloc: ^0.7.4" to clipboard
bloc: ^0.7.4 copied to clipboard

outdated

The goal of this package is to make it easy to implement the BLoC (Business Logic Component) design pattern.

0.1.0 #

Initial Version of the library.

  • Includes the ability to create a custom Bloc by extending Bloc class.
  • Includes the ability to connect presentation layer to Bloc by using the BlocBuilder Widget.

0.1.1 #

Minor Updates to Documentation.

0.1.2 #

Additional Minor Updates to Documentation.

0.2.0 #

Added Support for Stream Transformation

  • Includes Stream<E> transform(Stream<E> events)
  • Updates to Documentation

0.2.1 #

Minor Updates to Documentation.

0.2.2 #

Additional Minor Updates to Documentation.

0.2.3 #

Additional Minor Updates to Documentation.

0.2.4 #

Additional Minor Updates to Documentation.

0.2.5 #

Additional Minor Updates to Documentation.

0.3.0 #

Updated mapEventToState to take current state as an argument.

  • Stream<S> mapEventToState(E event) -> Stream<S> mapEventToState(S state, E event)
  • Updates to Documentation.
  • Updates to Example.

0.4.0 #

Added BlocProvider.

  • BlocProvider.of(context)
  • Updates to Documentation.
  • Updates to Example.

0.4.1 #

Minor Updates to Documentation.

0.4.2 #

Additional minor Updates to Documentation.

0.5.0 #

Moved Flutter Widgets to flutter_bloc package

0.5.1 #

Minor Updates to Documentation

0.5.2 #

Additional minor Updates to Documentation.

0.6.0 #

Transitions and initialState updates.

  • Added Transitions and onTransition
  • Made initialState required

0.7.0 #

Added BlocSupervisor and BlocDelegate.

  • BlocSupervisor notifies BlocDelegate of Transitions
  • BlocDelegate exposes onTransition which is invoked for all Bloc Transitions.

0.7.1 #

Improvements to Bloc usage in pure Dart applications.

  • Bloc state is seeded with initialState automatically

0.7.2 #

Transition Fix

  • Bloc with mapEventToState which returns multiple states per event will now correctly report the Transitions.

0.7.3 #

Minor Updates to Documentation

0.7.4 #

Updated mapEventToState parameter name

  • Stream<S> mapEventToState(S state, E event) -> Stream<S> mapEventToState(S currentState, E event)
  • Updates to Documentation.
  • Updates to Example.
2708
likes
0
pub points
99%
popularity

Publisher

verified publisherbloclibrary.dev

The goal of this package is to make it easy to implement the BLoC (Business Logic Component) design pattern.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, rxdart

More

Packages that depend on bloc