Skip to content
pubscout

nhost_flutter_auth

4.2.2, released 8 days ago by nhost.io

Provides Nhost authentication state to your Flutter app.

WASM-ready
$ flutter pub add nhost_flutter_auth
Source repository

What it does

Provides Nhost authentication state to your Flutter application, making it easy to set up protected resources and react to sign-ins and sign-outs.

AI-written summary of version 4.2.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are using Nhost as the backend for your Flutter application.
  • You need to handle user authentication state and protected resources.

Skip it when

  • You are using Firebase or another non-Nhost backend for authentication.
  • You do not need Nhost-specific auth state management.

Strengths

  • Integrates smoothly with Nhost backend services.
  • Simplifies reaction to sign-in and sign-out events.

Weaknesses

  • Tied specifically to the Nhost ecosystem.
  • Limited documentation and examples provided in the README.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add the dependency to pubspec.yaml.

dependencies:
  nhost_flutter_auth: ^3.0.0

Alternatives

Packages that do the same job and could replace nhost_flutter_auth.

  • firebase_auth

    Choose this if you are using Firebase instead of Nhost for your backend authentication.

Works with

Packages commonly used together with nhost_flutter_auth: ones it builds on, ones built on it, and its own family.