{"id":22458781,"url":"https://github.com/halildurmus/filepicker_windows","last_synced_at":"2025-04-05T15:07:33.939Z","repository":{"id":37424464,"uuid":"268132630","full_name":"halildurmus/filepicker_windows","owner":"halildurmus","description":"File and directory picker for Windows that uses common dialog controls.","archived":false,"fork":false,"pushed_at":"2024-11-17T13:29:59.000Z","size":226,"stargazers_count":70,"open_issues_count":2,"forks_count":19,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T14:09:27.795Z","etag":null,"topics":["dart","filepicker","flutter","win32","windows"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halildurmus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"halildurmus"}},"created_at":"2020-05-30T17:56:35.000Z","updated_at":"2024-11-17T13:30:02.000Z","dependencies_parsed_at":"2024-04-15T08:34:28.967Z","dependency_job_id":"223cfaa4-d5e2-4319-82b3-947dec12a508","html_url":"https://github.com/halildurmus/filepicker_windows","commit_stats":null,"previous_names":["timsneath/filepicker_windows","halildurmus/filepicker_windows","dart-windows/filepicker_windows"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Ffilepicker_windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Ffilepicker_windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Ffilepicker_windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halildurmus%2Ffilepicker_windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halildurmus","download_url":"https://codeload.github.com/halildurmus/filepicker_windows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353745,"owners_count":20925329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","filepicker","flutter","win32","windows"],"created_at":"2024-12-06T08:14:20.569Z","updated_at":"2025-04-05T15:07:33.905Z","avatar_url":"https://github.com/halildurmus.png","language":"Dart","funding_links":["https://github.com/sponsors/halildurmus"],"categories":[],"sub_categories":[],"readme":"[![ci][ci_badge]][ci_link]\n[![Package: filepicker_windows][package_badge]][package_link]\n[![Publisher: halildurmus.dev][publisher_badge]][publisher_link]\n[![Language: Dart][language_badge]][language_link]\n[![License: BSD-3-Clause][license_badge]][license_link]\n\nA package that provides a friendly Dart API for file and directory selection for\nWindows using common dialog controls.\n\nThis package builds on top of the Dart [win32] package, offering a high-level\nDart wrapper that avoids the need for users to understand FFI or write directly\nto the Win32 API.\n\n## Usage\n\n### File Picker\n\nShow a file picker dialog, allowing the user to select a file.\n\n```dart\nimport 'package:filepicker_windows/filepicker_windows.dart';\n\nvoid main() {\n  final file = OpenFilePicker()\n    ..filterSpecification = {\n      'Word Document (*.doc)': '*.doc',\n      'Web Page (*.htm; *.html)': '*.htm;*.html',\n      'Text Document (*.txt)': '*.txt',\n      'All Files': '*.*'\n    }\n    ..defaultFilterIndex = 0\n    ..defaultExtension = 'doc'\n    ..title = 'Select a document';\n\n  final result = file.getFile();\n  if (result != null) {\n    print(result.path);\n  }\n}\n```\n\n### Directory Picker\n\nShow a directory picker dialog, allowing the user to select a directory.\n\n```dart\nimport 'package:filepicker_windows/filepicker_windows.dart';\n\nvoid main() {\n  final file = DirectoryPicker()..title = 'Select a directory';\n\n  final result = file.getDirectory();\n  if (result != null) {\n    print(result.path);\n  }\n}\n```\n\nAdditional examples can be located within the [example] directory.\n\nFor a more advanced demonstration, you can explore a Flutter application in the\n`example\\wallpaper\\` directory. This application illustrates how to select an\nimage file and set it as your desktop wallpaper.\n\n## Feature requests and bugs\n\nPlease file feature requests and bugs at the\n[issue tracker][issue_tracker_link].\n\n[ci_badge]: https://github.com/halildurmus/filepicker_windows/actions/workflows/filepicker_windows.yml/badge.svg\n[ci_link]: https://github.com/halildurmus/filepicker_windows/actions/workflows/filepicker_windows.yml\n[example]: https://github.com/halildurmus/filepicker_windows/tree/main/example\n[issue_tracker_link]: https://github.com/halildurmus/filepicker_windows/issues\n[language_badge]: https://img.shields.io/badge/language-Dart-blue.svg\n[language_link]: https://dart.dev\n[license_badge]: https://img.shields.io/github/license/halildurmus/filepicker_windows?color=blue\n[license_link]: https://opensource.org/licenses/BSD-3-Clause\n[package_badge]: https://img.shields.io/pub/v/filepicker_windows.svg\n[package_link]: https://pub.dev/packages/filepicker_windows\n[publisher_badge]: https://img.shields.io/pub/publisher/filepicker_windows.svg\n[publisher_link]: https://pub.dev/publishers/halildurmus.dev\n[win32]: https://pub.dev/packages/win32\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalildurmus%2Ffilepicker_windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalildurmus%2Ffilepicker_windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalildurmus%2Ffilepicker_windows/lists"}