lecle_downloads_path_provider 0.0.2 copy "lecle_downloads_path_provider: ^0.0.2" to clipboard
lecle_downloads_path_provider: ^0.0.2 copied to clipboard

outdated

A Flutter project to get the downloads folder absolute path from Android and iOS device.

lecle_downloads_path_provider #

A Flutter project to get the downloads folder path from Android and iOS device.

How to use #

  • Simply import the package from Gitlab with the syntax below under dependencies in pubspec.yaml file and run flutter command flutter pub get in terminal

    dependencies:
    flutter:
    sdk:flutter

    downloads: lecle_downloads_path_provider: ^0.0.2

  • Add <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> to your AndroidManifest.xml

Example #

import 'package:lecle_downloads_path_provider/constants/downloads_directory_type.dart';

Directory? downloadsDirectory = await DownloadsPath.downloadsDirectory();
String? downloadsDirectoryPath = (await DownloadsPath.downloadsDirectory())?.path;

32
likes
0
pub points
96%
popularity

Publisher

verified publisherlecle.vn

A Flutter project to get the downloads folder absolute path from Android and iOS device.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on lecle_downloads_path_provider