Files
2025-04-20 17:58:08 +02:00

17 lines
374 B
Dart

// ignore_for_file: unused_local_variable
import 'package:riverpod/riverpod.dart';
final otherProvider = Provider<int>((ref) => 0);
/* SNIPPET START */
final provider = Provider<int>((ref) {
// {@template provider}
// "Ref" can be used here to read other providers
// {@endtemplate}
final otherValue = ref.watch(otherProvider);
return 0;
});
/* SNIPPET END */