This is my riverpod.dart file where I set up all o...
# flutter
m
This is my riverpod.dart file where I set up all of my providers:
Copy code
dart
// Auth Instance Dependency Provider
final _authServiceRiverpod = Provider<AuthService>(
  (ref) => AuthService(),
);

// Auth Controller
// All UI elemts that depend on auth talk trhough this class
final authControllerRiverpod = StateNotifierProvider<AuthController, AuthState>(
  (ref) => AuthController(
    ref.watch(_authServiceRiverpod),
  ),
);