mastodon_oauth2 1.0.0 mastodon_oauth2: ^1.0.0 copied to clipboard
Provides the optimized and easiest way to integrate OAuth 2.0 with Mastodon API in Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mastodon_oauth2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mastodon_oauth2: ^1.0.0
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:mastodon_oauth2/mastodon_oauth2.dart';