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

Simply download your files from the internet and save them to the desired location on your device.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:http_downloader/downloader_widget.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            DownloaderWidget(
              url: "URL",
              path: "PATH",
            ),
          ],
        ),
      ),
    );
  }
}
4
likes
140
points
27
downloads

Publisher

verified publisherclomc.xyz

Weekly Downloads

Simply download your files from the internet and save them to the desired location on your device.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on http_downloader