You can edit almost every page by Creating an account and confirming your email.

BloC

From EverybodyWiki Bios & Wiki





A Business Logic Component (BLoC) refers to a design pattern in computer programming. It is intended for state management.

Scope

The pattern was first designed by Google and introduced at DartConf 2018 [1] for use primarily in Dart and Flutter to maintain local scope (not to be confused with global scope).

Concepts[2]

  • Inputs and outputs are simple sinks/streams only.
  • Dependencies must be injectable and platform-agnostic.
  • No platform branching is allowed.
  • Implementation can be anything, provided the previous steps are followed.

References

  1. BLoC Pattern in Flutter
  2. Flutter / Angular Dart: Concepts of BLoC, during DartConf 2018

BLoC


This article "BloC" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:BloC. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.