Wraps the current widget in a RepositoryProvider.