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

PlatformAndroidiOS
outdated

A flutter plugin to open default files app. on an Android, it opens Download folder on selected. on iOS, it opens app folder in Files app.

example/lib/main.dart

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

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              openDownloads();
            },
            child: const Text('Open Downloads'),
          ),
        ),
      ),
    );
  }
}
2
likes
130
points
22
downloads

Publisher

verified publisherkhohatsi.com

Weekly Downloads

A flutter plugin to open default files app. on an Android, it opens Download folder on selected. on iOS, it opens app folder in Files app.

Documentation

API reference

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on open_downloads

Packages that implement open_downloads