amplify_flutter 0.1.2 amplify_flutter: ^0.1.2 copied to clipboard
The top level module for Amplify Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add amplify_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
amplify_flutter: ^0.1.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:amplify_flutter/amplify.dart';
import 'package:amplify_flutter/amplify_hub.dart';
import 'package:amplify_flutter/categories/amplify_analytics_category.dart';
import 'package:amplify_flutter/categories/amplify_api_category.dart';
import 'package:amplify_flutter/categories/amplify_auth_category.dart';
import 'package:amplify_flutter/categories/amplify_categories.dart';
import 'package:amplify_flutter/categories/amplify_datastore_category.dart';
import 'package:amplify_flutter/categories/amplify_storage_category.dart';
import 'package:amplify_flutter/method_channel_amplify.dart';