народ помогите с BLoC
мб я что то не понимаю ?
создал 2 экрана
splash (на нем проверяю авторизован пользователь или нет)
login (ну сама авторизация)
пытаюсь через провайдер прокинуть репозиторий но получаю ошибку
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown building LoginForm:
RepositoryProvider.of() called with a context that does not contain a repository of type
AuthenticationRepository.
No ancestor could be found starting from the context that was passed to
RepositoryProvider.of<AuthenticationRepository>().
This can happen if the context you used comes from a widget above the RepositoryProvider.
The context used was: _InheritedProviderScope<LoginBloc>(value: null)
пример кода
https://gist.github.com/gevork/e87b794ce2dc03a29d9ac022b4a27401