I have the following bottombar widget in which I create the objectBloc:
class _BottomBarState extends State { final UserRepository userRepo