搜尋套件、儲存庫與 APP 分類

套件詳情v3.0.1

folder_file_saver

用於將檔案儲存至 your_app 資料夾擴展的 Flutter 外掛程式。調整下載圖片的大小。依副檔名建立資料夾。需要權限並開啟裝置設定。

Android
近 30 天下載
98
喜歡數
23
Pub 分數
150

安裝套件

flutter pub add folder_file_saver

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 插件,可根據檔案副檔名將檔案儲存至特定資料夾。它會自動依檔案類型建立資料夾,調整下載影像的大小,並管理裝置權限。該插件需要使用者授權,且可開啟裝置設定以進行權限管理。專為 Android 設計,簡化了處理各種檔案類型的應用程式中的檔案組織與儲存處理。

適用情境

  • 將下載的檔案儲存到有組織的資料夾
  • 根據檔案副檔名自動建立資料夾
  • 儲存前調整影像大小
  • 管理文件存儲權限
  • 打開設備設定以授予權限
  • 組織特定於應用程式的檔案集合

主要特色

  • 按檔案擴展名建立資料夾
  • 調整已下載圖片的大小
  • 處理 Android 儲存權限
  • 開啟裝置設定以存取權限
  • 擴展檔案儲存功能
  • 支援按類型對檔案進行組織

適合對象

  • 下載並儲存多種檔案類型的App
  • 需要自動資料夾建立的開發者
  • 項目需要在儲存前調整圖像大小
  • 僅限 Android 的檔案管理解決方案
  • 專注於媒體或文件儲存的應用程式

使用建議

  • 僅限 Android 的平台支援
  • 需要執行時權限處理
  • 可能需要使用者手動請求權限
  • 依賴外部檔案系統存取
  • 僅限基於檔案擴展名的組織
  • 需要正確設定以進行裝置設定導航

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Folder File Saver

Pub Version GitHub

This Plugin provides
  • Save file from URL
  • Displays the file that you downloaded in Gallery And Media Player from Url
  • Copy existing file to new Folder extension
  • Create Folder of your File
    • Android Q or higher
      • jpg, png, jpeg = Pictures/appname Pictures
      • mp4 = Videos/appname Videos
      • mp3 = Musisc/appname Musics
      • m4a = Audiobooks/appname Audios
      • any extension = Documents/appname Documents
    • Under Android Q
      • jpg, png, jpeg = appname/Pictures
      • mp4 = appname/Videos
      • mp3 = appname/Musics
      • m4a = appname/Audios
      • any extension = appname/Documents
  • Save file into your custom Directory
  • Download images and resize width and height
  • Open Settings device
Android

You need to add those permissions in AndroidManifest.xml in order the plugin to work

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
IOS

Currently this Plugin not avaible for IOS.

For demo
  • git clone https://github.com/bonamoogy/FolderFileSaver/archive/master.zip
  • cd folder_file_saver
  • flutter pub get
  • flutter run

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

所屬分類

依賴

依賴清單 1 項

  • plugin_platform_interface^2.0.2

原始碼儲存庫

使用此套件的專案

暫無相關資料。