본문 바로가기

코딩(coding)일지/flutter

[ flutter ]dart.io 접근 함수

1. getApplicationDocumentsDirectory() : 해당 앱에서만 액세스 할 수 있는 지정된 경로
  => /data/user/0/kr.co.findplay.app/app_flutter
2. getApplicationSupportDirectory()
  => /data/user/0/kr.co.findplay.app/files
3. getExternalCacheDirectories()
  => [Directory: '/storage/emulated/0/Android/data/kr.co.findplay.app/cache']  
4. getExternalStorageDirectories({StorageDirectory type })
  => ???
5. getExternalStorageDirectory() : 해당 앱과 사용자가 액세스 할 수 잇는 지정된 경로
  => /storage/emulated/0/Android/data/kr.co.findplay.app/files
6. getLibraryDirectory()
  => null
7. getTemporaryDirectory()
  => Directory: '/data/user/0/kr.co.findplay.app/cache'

'코딩(coding)일지 > flutter' 카테고리의 다른 글

[ flutter ] riverpod  (0) 2023.12.25
[ flutter ]google 애널리틱스 연동  (0) 2022.10.02
[ flutter ]dart.io 폴더 접근  (0) 2022.09.04
[ flutter ] 생명주기  (0) 2022.05.28
[flutter]스토리지 이슈  (0) 2022.02.06