flutter_onedrive
1.8.3, released 3 months ago by an unverified publisher
Upload, download, and manage files on Microsoft OneDrive from a Flutter app.
What it does
Connects to Microsoft OneDrive via OAuth authentication to perform file operations such as uploading, downloading, listing files, creating directories, and deleting items.
AI-written summary of version 1.8.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to sync or backup user application files to their OneDrive account.
- Your app interacts directly with OneDrive using custom OAuth client credentials.
Skip it when
- You require a general-purpose local storage database rather than cloud storage.
- You need support for cloud storage providers other than OneDrive.
Strengths
- Provides a straightforward API for common file operations (upload, download, list, delete, create directory).
- Handles authentication flow via OAuth with secure token storage.
Weaknesses
- Requires manual app registration and configuration with Microsoft Azure/OneDrive developer portal.
- Limited to a single cloud provider.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Requires registering an app on the Microsoft developer portal to obtain a client ID and configuring redirect URLs.
final onedrive = OneDrive(redirectURL: "your redirect URL", clientID: "your client id");
final success = await onedrive.connect(context);
if (success) {
OneDriveResponse response = await onedrive.createDirectory("/test");
}Alternatives
Packages that do the same job and could replace flutter_onedrive.
- dart_aliyun_oss
Dart client SDK for Alibaba Cloud Object Storage Service (OSS).
52Compare - icloud_storage
Flutter plugin to upload, download, and manage files in the app's iCloud container.
43Compare - aws_s3_upload_lite
Upload files and byte data directly to AWS S3 buckets with progress tracking.
50Compare
Works with
Packages commonly used together with flutter_onedrive: ones it builds on, ones built on it, and its own family.
- flutter_secure_storageflutter_onedrive depends on itSecure key-value storage using platform-specific secure mechanisms
- oauth2flutter_onedrive depends on itA client library for OAuth2 authentication and authorized HTTP requests.
- oauth_webauthflutter_onedrive depends on itWebView-based OAuth 2.0 flow for mobile and web