Skip to main content

Flutter

Official

Cross-platform authentication for Flutter apps.

API reference

Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.

Components
Functions
componentSignIn

SignIn is a pre-built Flutter widget that drives the full sign-in loop using the ThunderID Flow Execution API. It renders the appropriate input form for each authentication step (username/password, TOTP, email OTP, etc.) and automatically advances through the flow until completion. dart import 'package:thunderid_flutter/thunderid_flutter.dart'; SignIn( applicationId: '', onComplete: () { // Refresh state after sign-in ThunderIDProvider.of(context).refresh(); }, onError: (error) => print('Sign in failed: $error'), )

Example
import 'package:thunderid_flutter/thunderid_flutter.dart';

SignIn(
  applicationId: '<your-application-id>',
  onComplete: () {
    // Refresh state after sign-in
    ThunderIDProvider.of(context).refresh();
  },
  onError: (error) => print('Sign in failed: $error'),
)

Get started

Provider, session, and a protected route, start to finish.

Connect your application

Getting started / Connect your application / Flutter

Open in docs

The quickstart is maintained alongside the rest of the getting-started guides so it stays in step with the platform. This page covers the package itself.

Guides

Task-focused walkthroughs maintained alongside the SDK.

Accessing Protected APIs

Use ThunderID Flutter SDK access tokens to call your backend APIs

3 min read

Try the Flutter Sample App

Run the ThunderID Flutter sample app to see the full authentication lifecycle end to end.

4 min read
ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.