➕ Add sqlite3 dependency
This commit is contained in:
10
lib/providers/database.dart
Normal file
10
lib/providers/database.dart
Normal file
@ -0,0 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:surface/database/database.dart';
|
||||
|
||||
class DatabaseProvider {
|
||||
late final AppDatabase db;
|
||||
|
||||
DatabaseProvider(BuildContext context) {
|
||||
db = AppDatabase();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user