bloc property

B? bloc
final

The bloc that the BlocConsumer will interact with. If omitted, BlocConsumer will automatically perform a lookup using BlocProvider and the current BuildContext.

Implementation

final B? bloc;