step 3 : login proses

This commit is contained in:
sindhu
2025-02-21 03:45:08 +07:00
parent a1d459452e
commit 77b7a133e4
20 changed files with 1111 additions and 114 deletions

View File

View File

@@ -0,0 +1,4 @@
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../model/auth_model.dart';
final currentUserProvider = StateProvider<AuthModel?>((ref) => null);

View File

@@ -0,0 +1,4 @@
import 'package:dio/dio.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
final dioProvider = Provider<Dio>((ref) => Dio());