diff --git a/docs/content/en/docs/faq.md b/docs/content/en/docs/faq.md index 245af0fa..0fb645e5 100644 --- a/docs/content/en/docs/faq.md +++ b/docs/content/en/docs/faq.md @@ -27,7 +27,7 @@ provider that manages the database instance: void main() { runApp( Provider( - builder: (context) => MyDatabase(), + creator: (context) => MyDatabase(), child: MyFlutterApp(), dispose: (context, db) => db.close(), ),