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

套件詳情v3.0.2

filepicker_windows

適用於 Windows 的檔案與目錄選擇器,使用常見對話方塊控制項。

Windows
近 30 天下載
2920
喜歡數
120
Pub 分數
160

安裝套件

flutter pub add filepicker_windows

套件介紹

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

一個適用於 Windows 的 Flutter 套件,使用原生 Windows 常用對話框控制項提供檔案與目錄選擇功能。它可實現與作業系統檔案瀏覽介面的無縫整合,確保使用者獲得熟悉的體驗。該套件專為 Windows 平台設計,利用 Win32 API 實現可靠且高效能的檔案選擇。支援單一檔案與目錄選擇,非常適合需要檔案輸入的桌面應用程式。

適用情境

  • 在桌面應用程式中選擇檔案
  • 選擇資料儲存的目錄
  • 在 Windows 應用中整合原生檔案對話方塊
  • 在僅限 Windows 的 Flutter 專案中處理檔案輸入
  • 從本機 Windows 儲存啟用檔案上傳

主要特色

  • 使用原生 Windows 對話方塊控制項
  • 支援檔案和目錄選擇
  • 針對 Windows 平台優化
  • 使用 Flutter pub add 的最小設定
  • 利用 Win32 API 提高可靠性

適合對象

  • Windows 桌面 Flutter 開發人員
  • Windows 上需要原生檔案選擇器的應用
  • 專案需要最少的跨平台複雜性
  • 針對 Windows 特定工作流程的開發者
  • 具有檔案輸入要求的應用程式

使用建議

  • 僅限 Windows 平台
  • 需要 Win32 API 存取
  • 不支援 macOS 或 Linux
  • 依賴外部 Win32 套件
  • 不適用於需要額外邏輯的多平台應用

原始 README

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

ci codecov GitHub stars Language: Dart License: BSD-3-Clause

This monorepo contains the win32 family of Dart packages – everything you need to build Windows-native applications in Dart and Flutter. The packages range from low-level Win32 and COM API bindings to modern, type-safe APIs for everyday Windows features like the Registry, Clipboard, gamepads, and more.

📦 Packages

Package Description Pub Issues
ffi_leak_tracker Allocation tracking and leak detection for Dart FFI code pub issues
filepicker_windows File and directory picker for Windows that uses common dialog controls pub issues
win32 Call common Windows APIs directly from Dart using FFI pub issues
win32_clipboard A modern, type-safe Dart API for accessing and managing the Windows Clipboard pub issues
win32_gamepad A modern, type-safe Dart API for accessing gamepads connected to a Windows machine pub issues
win32_registry A modern, type-safe Dart API for accessing and managing the Windows Registry pub issues
win32_runner A Dart runner for Flutter Windows apps — no C++ compiler required pub issues
winmd Inspect and generate Windows Metadata (.winmd) files based on the ECMA-335 standard pub issues
Internal Packages
Package Description Issues
generator Generates Win32 and COM API projections from Windows Metadata issues

🐞 Features and Bugs

If you encounter bugs or need additional functionality, please file an issue.

所屬分類

依賴

依賴清單 3 項

  • ffi^2.1.4
  • ffi_leak_tracker^0.1.1
  • win32^6.0.0

原始碼儲存庫

使用此套件的專案