RepositoryProvider<T>.value constructor
Takes a repository and a child which will have access to the repository.
A new repository should not be created in RepositoryProvider.value.
Repositories should always be created using the default constructor
within the Create function.
Implementation
RepositoryProvider.value({
required T value,
Key? key,
Widget? child,
}) : super.value(
key: key,
value: value,
child: child,
);