Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.mdx #8183

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/pages/[platform]/start/quickstart/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

```dart title="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<void> _configureAmplify() async {
Expand Down