flutter_onedrive 1.8.0 copy "flutter_onedrive: ^1.8.0" to clipboard
flutter_onedrive: ^1.8.0 copied to clipboard

Upload/download files to/from onedrive

example/lib/main.dart

import 'package:flutter/material.dart';
import './examples.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  MyAppState createState() => MyAppState();
}

class MyAppState extends State<MyApp> with WidgetsBindingObserver {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(primarySwatch: Colors.blue),
      home: Scaffold(
        appBar: AppBar(title: const Text('OneDrive Demo'), centerTitle: true),
        body: const Padding(padding: EdgeInsets.all(16), child: OneDriveButton()),
      ),
    );
  }
}
25
likes
130
points
220
downloads

Publisher

unverified uploader

Weekly Downloads

Upload/download files to/from onedrive

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_secure_storage, http, oauth_webauth, path, path_provider

More

Packages that depend on flutter_onedrive