開啟目錄
用於在桌面平台開啟原生資料夾的 Flutter 外掛程式。
- 星標
- 9
- 分支
- 1
- 最近推送(UTC)
- 2024年10月31日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
open_dir
Open directory on the native desktop platform with its app (Finder on MacOS, Files on Linux, File Explorer on Windows)
Supported platforms
| MacOS | Linux | Windows | Android | iOS | Web |
|---|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ❌️️ | ❌️️ | ❌️️ |
Usage
Add open_dir as a dependency in your pubspec.yaml file. This is Endorsed federated plugin.
This plugin is also supported to highlight/select a specific file after opening the directory.
Example
final _openDirPlugin = OpenDir();
final path = '/path/to/directory';
final highlightedFileName = 'file.txt';
await _openDirPlugin.openNativeDir(path: path, highlightedFileName: highlightedFileName);
Demo
| Open dir | Open dir and highlight file |
|---|---|
語言C++CMakeDartCSwiftRuby
分類
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗