commonBloc property

CommonBloc get commonBloc

Implementation

CommonBloc get commonBloc {
  final bloc = _commonBloc;
  if (bloc == null) {
    throw StateError(
      'CommonBloc was never injected into this $runtimeType.\n'
      'Base pages wire it automatically. This usually means the state '
      'manager was obtained directly (e.g. context.read<$runtimeType>() or '
      'getIt<$runtimeType>()) and used before any page rendered it.',
    );
  }
  return bloc;
}
set commonBloc (CommonBloc bloc)

Implementation

set commonBloc(CommonBloc bloc) {
  _commonBloc = bloc;
}