getBloc method

BL getBloc(
  1. BuildContext context
)

Method to retrieve a Bloc instance from the widget context. The context.read

Implementation

BL getBloc(BuildContext context) {
  return context.read<BL>();
}