Skip to content
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