fast_contacts
6.0.0, released 5 months ago by sonerik.dev
A fast plugin for accessing and fetching the device's contacts list.
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.
- location
Flutter plugin to get real-time device location across platforms.
94Compare - wakelock_plus
Keep the device screen awake across mobile, desktop, and web platforms.
92Compare - contacts_service_plus
Retrieve and manage device contacts on Android and iOS devices.
64Compare - appcheck
Check if another app is installed, enabled, launch it, and list installed apps on Android/iOS.
82Compare