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

outdated

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({Key? key}) : super(key: key);

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

class MyAppState extends State<MyApp> with WidgetsBindingObserver {
  String redirectURL = '';
  String clientID = '';

  @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 Center(
          child: OneDriveButton(),
        ),
      ),
    );
  }
}
27
likes
0
points
331
downloads

Publisher

unverified uploader

Weekly Downloads

Upload/download files to/from onedrive

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_secure_storage, http, oauth_webauth

More

Packages that depend on flutter_onedrive