🎉 Initial Commit
This commit is contained in:
9
lib/providers/db_provider.dart
Normal file
9
lib/providers/db_provider.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
import '../data/db.dart';
|
||||
|
||||
part 'db_provider.g.dart';
|
||||
|
||||
@Riverpod(keepAlive: true)
|
||||
AppDatabase database(Ref ref) {
|
||||
return AppDatabase();
|
||||
}
|
||||
Reference in New Issue
Block a user