Skip to content
pubscout

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.

Unverified publisher
$ flutter pub add flutter_onedrive
Source repository

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.

Works with

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