nhost_flutter_auth 1.0.11 nhost_flutter_auth: ^1.0.11 copied to clipboard
Provides Nhost authentication state to your Flutter app, making it easy to set up protected resources, and react to logins and logouts.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nhost_flutter_auth
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
nhost_flutter_auth: ^1.0.11
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:nhost_flutter_auth/nhost_flutter_auth.dart';