Overview
The unofficial Dart SDK for Directus enables Flutter applications to interact with Directus' REST API and handle authentication seamlessly. It provides a structured way to manage data, users, and permissions through a type-safe interface. Designed for developers using Flutter, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The SDK simplifies integration with Directus as a headless CMS or backend service, reducing boilerplate code for common operations like querying collections, uploading files, and managing sessions.
Use cases
- Integrating Flutter apps with Directus as a backend
- Managing content via a headless CMS
- User authentication and session handling
- Real-time data synchronization
- File uploads and management
- Building admin dashboards
Key features
- REST API client for Directus
- Authentication and token management
- Type-safe data models
- Cross-platform support
- Easy setup with Flutter
- Support for file operations
Suitable for
- Flutter developers building apps with Directus
- Teams using Directus as a backend
- Projects requiring content management
- Apps needing secure user authentication
- Developers seeking lightweight backend integration
Considerations
- Unofficial SDK – not maintained by Directus team
- Limited to REST API (no real-time subscriptions)
- Requires manual handling of error cases
- Depends on external package updates
- No built-in caching or offline support