Last updated:
0 purchases
lazy g drive
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
copied to clipboard
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';
// ...
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.