The third example in BlocListener class, It doesn't effect the readability for sure, But just remind.
BlocListener<BlocA, BlocAState>(
listenWhen: (previous, current) {
// return true/false to determine whether or not
// to invoke listener with state
},
listener: (context, state) {
// do stuff here based on BlocA's state
} // loss a "," here
child: Container(),
)
Description
The third example in BlocListener class, It doesn't effect the readability for sure, But just remind.