bloc property

B? bloc
finalinherited

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;