Skip to content

Instantly share code, notes, and snippets.

Last active October 2, 2022 10:40
What would you like to do?
final someRepositoryProvider = Provider(
(ref) => SomeRepository(,
class SomeRepository {
const SomeRepository(this._read);
final Ref _ref;
Future<void> fetch() async {
final response =;
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment