drive_direct_download 0.0.1 copy "drive_direct_download: ^0.0.1" to clipboard
drive_direct_download: ^0.0.1 copied to clipboard

outdated

Drive Direct Downloader is a powerful Flutter package that simplifies Google Drive files by providing direct download links. With Drive Direct Downloader, developers can effortlessly download files fr [...]

Drive Direct Download

Features #

Drive Direct Downloader is a powerful Flutter package that simplifies Google Drive files by providing direct download links. With Drive Direct Downloader, developers can effortlessly download files from Google Drive with ease. Say goodbye to complex authentication processes and hello to seamless file retrieval and management, all within your Flutter app!

Getting started #

Add this package to pubspec.yaml.

Usage #

ElevatedButton( `child: const Text(""), onPressed: () { DriveDirect.download(driveLink: "YOUR_DRIVE_LINK").then((value) { setState(() { _downloadLink = value;

          //Here value is your drive downloadable link
        });
      });
    },
  ),`


import 'package:bhakti_pdfs/values/drive_direct_download.dart';
import 'package:flutter/material.dart';
import 'package:dio/dio.dart';

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

  @override
  State<HomePage> createState() => _HomePageState();
}

String? _downloadLink;

class _HomePageState extends State<HomePage> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Center(
      child: ElevatedButton(
        child: const Text(""),
        onPressed: () {
          DriveDirect.download(driveLink: "YOUR_DRIVE_LINK").then((value) {
            setState(() {
              _downloadLink = value;

              //Here value is your drive downloadable link
            });
          });
        },
      ),
    );
  }
}


Additional information #

Use Git Repo For Contribute

2
likes
0
points
14
downloads

Publisher

verified publisherdharmikjoshi.in

Weekly Downloads

Drive Direct Downloader is a powerful Flutter package that simplifies Google Drive files by providing direct download links. With Drive Direct Downloader, developers can effortlessly download files from Google Drive with ease. Say goodbye to complex authentication processes and hello to seamless file retrieval and management, all within your Flutter app!

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on drive_direct_download