lazy_g_drive 2.1.1 copy "lazy_g_drive: ^2.1.1" to clipboard
lazy_g_drive: ^2.1.1 copied to clipboard

A simple Google Drive Api package mainly design for AppData scope operation.

A simple Google Drive Api wrapper for googleapis/drive/v3. Package mainly design for appdata scope operation.

Features #

Name Api Stable Description
[GDrive] yes Simple Google Drive class implementing wrapper for create, get, list, update, and helper methods download, upload, updateContent, listFiles, getLatest, delCopies.
[GDriveStringExt] yes Provide an easy way to convert String to DriveApi media stream.
[gDriveFileMeta] yes A helper function to fill in Drive API FileMeta

Getting started #

flutter pub add lazy_g_drive

Usage #

[GDrive] don't have custom constructor. A Google OAuth access token must be set before using any methods.

Import with as lazy as follow:

import 'package:lazy_g_drive/lazy_g_drive.dart' as lazy;

main(){
  var gdrive = lazy.GDrive();
  gdrive.token = 'Google Access Token';

  // ...

}
10
likes
150
points
140
downloads

Publisher

verified publisherjsiu.dev

Weekly Downloads

A simple Google Drive Api package mainly design for AppData scope operation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

googleapis, lazy_extensions, lazy_http_client, lazy_log

More

Packages that depend on lazy_g_drive