BaseBloc class abstract
Base class for every BLoC that you want to create.
It acts as a business logic and data holder in order to separate logic & data from UI In most cases a BLoC is responsible for a specific scope. That scope is defined by the widget-subtree below the BlocProvider widget responsible for the BLoC it contains.
For instance, you could set up an architecture with one BLoC per page and one for the entire app similar to ehe MVP pattern on Android.
- Implemented types
Constructors
- BaseBloc()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
inherited
-
init(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited