fartstack/frontend/lib/providers/utility.dart

11 lines
324 B
Dart

import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'package:shared_preferences/shared_preferences.dart';
part 'utility.g.dart';
@riverpod
Future<SharedPreferencesAsync> sharedPreferencesAsync(Ref ref) async {
return SharedPreferencesAsync();
}