Skip to content
pubscout

flutter_autofill_service

0.23.0, released 3 weeks ago by kee.pm

Integrate Flutter with Android platform autofill services.

WASM-ready
$ flutter pub add flutter_autofill_service
Source repository

What it does

Allows your Flutter application to act as an Android autofill service, providing login credentials to other apps and websites. It supports both a legacy dataset-selection flow and an interactive in-app selection flow, along with security trust signals.

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

Use it when

  • You are building a password manager or credential storage app in Flutter for Android.
  • You need to securely provide saved credentials to third-party Android apps and browser autofill requests.

Skip it when

  • You are targeting iOS, as Apple requires a native extension for autofill and does not support Flutter plugins for it.
  • You only want to consume autofill suggestions in your own app rather than provide them.

Strengths

  • Provides advanced security trust signals (like domain verification via Digital Asset Links and package ID checks).
  • Supports both legacy multi-dataset Android UI and an opt-in in-app interactive selection flow.
  • Includes features like fill dialog support and dynamic debug logging.

Weaknesses

  • Only supports Android; iOS is not supported.
  • Requires manual configuration of Android manifest files, resources, and optional JVM classpath properties.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
2

Requires native Android configuration in AndroidManifest.xml, resource overrides, keep.xml for Gradle resource shrinkage, and optional tinylog JVM classpath properties.

AutofillPreferences preferences = const AutofillPreferences(
  enableFillDialog: true,
  useInAppSelection: false,
);

Alternatives

Packages that do the same job and could replace flutter_autofill_service.

  • auth0_flutter

    Auth0 SDK for Flutter to integrate Auth0 authentication into mobile, desktop, and web apps.

  • flutter_web_auth

    Authenticate users with web services and OAuth2 via native web authentication sessions.

Works with

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