nhost_flutter_auth 4.0.7 nhost_flutter_auth: ^4.0.7 copied to clipboard
Provides Nhost authentication state to your Flutter app, making it easy to set up protected resources, and react to sign ins and sign outs.
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: ^4.0.7
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';