パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v2.1.6

path_provider

ホストプラットフォームのファイルシステムでよく使われる場所(例:一時ディレクトリやアプリケーションデータディレクトリ)を取得するためのFlutterプラグイン。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
1020万
いいね数
5570
Pub ポイント
160

パッケージをインストール

flutter pub add path_provider

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

path_provider パッケージは、さまざまなプラットフォームで一般的なファイルシステムディレクトリにアクセスできるFlutterプラグインです。一時的なディレクトリやアプリケーション固有のデータディレクトリを含みます。このパッケージは、プラットフォーム固有のパスを一貫性があり使いやすいAPIに抽象化することで、クロスプラットフォームでのファイル管理を簡素化します。これにより、アプリキャッシュ、ドキュメント、永続ストレージなど、各オペレーティングシステムに適した場所にファイルを信頼性高く保存・取得できます。ローカルファイル操作を安全かつ効率的に管理する必要があるすべてのFlutterアプリにとって、このパッケージは不可欠です。

用途

  • アプリのキャッシュファイルを保存する
  • ユーザーが生成したコンテンツの保存
  • 一時ファイルの管理
  • アプリデータの永続化
  • 設定ファイルの読み取り/書き込み

主な機能

  • クロスプラットフォームディレクトリアクセス
  • プラットフォームに依存しない API
  • 一時およびアプリデータディレクトリのサポート
  • ファイルシステム操作との簡単な統合
  • プラットフォーム間での信頼性の高いパス解決

適している対象

  • ローカルファイルストレージを必要とするアプリ
  • データ永続化の実装
  • キャッシュ戦略
  • ファイルベースの設定管理
  • クロスプラットフォーム開発チーム

注意事項

  • 一部のプラットフォームでは、適切な権限処理が必要です
  • ファイルI/Oを直接処理しない(dart:ioと併用する)
  • 事前に定義されたパスに限定
  • 組み込みの暗号化またはセキュリティ機能なし
  • ファイルシステムの権限の正しく使用に依存しています

元の 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

カテゴリー

依存関係

依存関係一覧 5 件

  • path_provider_android^2.2.5
  • path_provider_foundation^2.3.2
  • path_provider_linux^2.2.0
  • path_provider_platform_interface^2.1.0
  • path_provider_windows^2.2.0

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング