Merge pull request #713 from remove/develop

Update faq.md
This commit is contained in:
Simon Binder 2020-07-18 09:34:52 +02:00 committed by GitHub
commit 54cf553e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ provider that manages the database instance:
void main() { void main() {
runApp( runApp(
Provider<MyDatabase>( Provider<MyDatabase>(
creator: (context) => MyDatabase(), create: (context) => MyDatabase(),
child: MyFlutterApp(), child: MyFlutterApp(),
dispose: (context, db) => db.close(), dispose: (context, db) => db.close(),
), ),