Skip to content
pubscout

fast_contacts

6.0.0, released 5 months ago by sonerik.dev

A fast plugin for accessing and fetching the device's contacts list.

WASM-ready
$ flutter pub add fast_contacts
Source repository

What it does

FastContacts provides a high-performance way to read contacts from the device's contact book on Android and iOS. It allows fetching the entire list of contacts, getting individual contacts by ID, and retrieving contact images or thumbnails quickly.

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

Use it when

  • You need to fetch the entire device contacts list efficiently.
  • Performance when loading large contact books (1000+ contacts) is critical.

Skip it when

  • You need to manage or prompt for permissions directly within the package (permission_handler is required).
  • Targeting platforms other than Android and iOS.

Strengths

  • Significantly faster than alternative contact-reading plugins.
  • Handles decoding on background threads so the UI isolate does not hang.

Weaknesses

  • Does not handle permissions natively; a separate permission plugin is required.
  • Limited platform support (only Android and iOS).

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Add READ_CONTACTS permission in AndroidManifest.xml and NSContactsUsageDescription in Info.plist for iOS. Use a separate permission handler to request permissions.

import 'package:fast_contacts/fast_contacts.dart';

final contacts = await FastContacts.getAllContacts();

Alternatives

Packages that do the same job and could replace fast_contacts.