CubitPipe class

A pipe which helps bind Cubit state changes to the presentation layer. CubitPipe handles rendering the html element in response to new states. CubitPipe is very similar to AsyncPipe but has simplified API to reduce the amount of boilerplate code needed.

Implemented types
Annotations
  • @Pipe('cubit', pure: false)

Constructors

CubitPipe(ChangeDetectorRef _ref)
A pipe which helps bind Cubit state changes to the presentation layer. CubitPipe handles rendering the html element in response to new states. CubitPipe is very similar to AsyncPipe but has simplified API to reduce the amount of boilerplate code needed.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited
transform(CubitStream cubit) → dynamic
Angular invokes the transform method with the value of a binding as the first argument, and any parameters as the second argument in list form.

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited