mastodon_oauth2 0.1.1
mastodon_oauth2: ^0.1.1 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_oauth2This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
mastodon_oauth2: ^0.1.1Alternatively, 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';