패키지, 저장소 및 앱 카테고리 검색

패키지 상세v2.1.6

path_provider

호스트 플랫폼 파일 시스템에서 자주 사용되는 위치(예: 임시 및 앱 데이터 디렉터리)를 가져오는 Flutter 플러그인입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
1020만
좋아요
5.6천
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

소스 저장소

이 패키지를 사용하는 프로젝트

순위