update dependence
This commit is contained in:
@ -26,27 +26,3 @@ class TokenNotifier extends Notifier<String?> {
|
||||
|
||||
final tokenProvider =
|
||||
NotifierProvider<TokenNotifier, String?>(() => TokenNotifier());
|
||||
|
||||
// import 'package:fluent_ui/fluent_ui.dart';
|
||||
// import 'package:fluent_ui/fluent_ui.dart';
|
||||
// import 'package:shared_preferences/shared_preferences.dart';
|
||||
//
|
||||
// class Secret extends ChangeNotifier {
|
||||
// String? token;
|
||||
//
|
||||
// void setToken(String? data) {
|
||||
// token = data;
|
||||
// SharedPreferences.getInstance().then((prefs) {
|
||||
// prefs.setString("token", data ?? "");
|
||||
// });
|
||||
// // notifyListeners();
|
||||
// // notifyListeners();
|
||||
// }
|
||||
//
|
||||
// void removeToken() {
|
||||
// token = "";
|
||||
// SharedPreferences.getInstance().then((prefs) {
|
||||
// prefs.setString("token", "");
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
|
Reference in New Issue
Block a user