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

套件詳情v1.1.0

file_selector

使用原生檔案選擇 UI 開啟和儲存檔案,或選擇目錄的 Flutter 外掛。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
101萬
喜歡數
442
Pub 分數
160

安裝套件

flutter pub add file_selector

套件介紹

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

file_selector 套件提供了一個 Flutter 插件,讓使用者能跨多個平台使用原生檔案選擇介面來開啟和儲存檔案或選擇資料夾。它與 Android、iOS、Web、macOS、Windows 和 Linux 無縫整合,提供一致的行為,同時利用各平台特有的 UI 以達成最佳使用者體驗。該套件透過抽象平台差異來簡化檔案 I/O 操作,非常適合需要檔案管理功能但又不想重複造輪子的應用程式。它支援檔案選取和資料夾選取,設定簡單。

適用情境

  • 從設備存儲打開檔案
  • 將檔案儲存至使用者選擇的位置
  • 選擇用於資料匯入/匯出的目錄
  • 在跨平台應用中整合原生檔案對話框
  • 在生產力應用中啟用文件管理

主要特色

  • 所有支援平台的原生檔案選擇器 UI
  • 支援檔案開啟與儲存
  • 目錄選擇功能
  • 跨平台一致性
  • 所需設定最少

適合對象

  • 需要檔案輸入/輸出的應用程式
  • 生產力與文件導向的應用程式
  • 跨平台檔案管理工具
  • 尋求原生檔案操作使用者體驗的開發者
  • 針對多個作業系統的專案

使用建議

  • Android 與 iOS 需要平台特定的權限
  • Web 支援取決於瀏覽器功能
  • 檔案選擇器 UI 的自訂功能有限
  • 可能需要額外處理檔案類型過濾
  • 權限必須在行動平台於執行時請求

原始 README

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

Flutter Packages

Release Status Flutter CI Status

This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages directory to see all packages.

These packages are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled "package".

Contributing

If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.

Packages

These are the packages hosted in this repository:

Package Pub Points Usage Issues Pull requests
animations pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
camera pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cross_file pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_icons pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
espresso pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
extension_google_sign_in_as_googleapis_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
file_selector pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_lints pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_plugin_android_lifecycle pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg_test pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router_builder pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_adsense pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_fonts pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_maps_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_sign_in pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
image_picker pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
interactive_media_ads pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
in_app_purchase pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
local_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
material_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
metrics_center pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_parsing pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_provider pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pigeon pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pointer_interceptor pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
plugin_platform_interface pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
quick_actions pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_identity_services_web pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
rfw pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
shared_preferences pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
two_dimensional_scrollables pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
url_launcher pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_codec pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_compiler pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
video_player pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
web_benchmarks pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
webview_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
xdg_directories pub package pub points downloads GitHub issues by-label GitHub pull requests by-label

所屬分類

依賴

依賴清單 7 項

  • file_selector_android^0.5.0
  • file_selector_ios^0.5.0
  • file_selector_linux^0.9.4
  • file_selector_macos^0.9.5
  • file_selector_platform_interface^2.7.0
  • file_selector_web^0.9.1
  • file_selector_windows^0.9.3

原始碼儲存庫

使用此套件的專案