From 891a80d30948cf929e49d3f2e1e543e8f689e18f Mon Sep 17 00:00:00 2001 From: Shakir <30622440+networkandcode@users.noreply.github.com> Date: Wed, 1 Jan 2025 18:07:53 +0530 Subject: [PATCH] Update index.mdx added import statements for amplify api and model provider --- src/pages/[platform]/start/quickstart/index.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/[platform]/start/quickstart/index.mdx b/src/pages/[platform]/start/quickstart/index.mdx index 1255ad7d8b6..bbe06d8f848 100644 --- a/src/pages/[platform]/start/quickstart/index.mdx +++ b/src/pages/[platform]/start/quickstart/index.mdx @@ -1479,7 +1479,14 @@ dependencies: ``` -After adding the dependencies, update the `_configureAmplify` method in your `main.dart` file to use the Amplify API: +After adding the dependencies, import the dependency and the model provider at the top of main.dart. + +``` +import 'package:amplify_api/amplify_api.dart'; +import 'models/ModelProvider.dart'; +``` + +And then update the `_configureAmplify` method in your `main.dart` file to use the Amplify API: ```dart title="main.dart" Future _configureAmplify() async {