Skip to content
pubscout

serverpod_auth_shared_flutter

4.1.2, released 7 days ago by serverpod.dev

Shared Flutter widgets for Serverpod authentication, including passwordless OTP and social logins.

$ flutter pub add serverpod_auth_shared_flutter
Source repository

What it does

Provides ready‑made UI components that handle authentication flows with Serverpod, such as OTP login, social sign‑in, and biometric prompts. It wraps image picking and cropping for profile pictures.

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

Use it when

  • You need a quick, Serverpod‑centric authentication UI
  • You want passwordless OTP login out of the box
  • You need social sign‑in widgets that integrate with Serverpod

Skip it when

  • You are building a custom authentication flow from scratch
  • You are using a different backend or auth provider

Strengths

  • Fast to integrate with Serverpod
  • Includes passwordless OTP and social login widgets
  • Handles image picking and cropping for profile pictures

Weaknesses

  • Tied to Serverpod; not usable with other backends
  • Limited customization beyond provided widgets
  • Relies on several third‑party image packages

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
8

Add dependency to pubspec, import the package, no build_runner needed.

// Example usage
import 'package:serverpod_auth_shared_flutter/serverpod_auth_shared_flutter.dart';

AuthWidget(),

Alternatives

Packages that do the same job and could replace serverpod_auth_shared_flutter.

Works with

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