PathUtils class
Name: Path工具类 基于 path_provider Created by Fitem on 2023/6/8
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getAndroidDCIMPaths(
) → Future< List< String> > - 获取Android外部存储-相机目录下的文件的路径
-
getAndroidDocumentPaths(
) → Future< List< String> > - 获取Android外部存储-文档类型文件的路径
-
getAndroidDownloadPaths(
) → Future< List< String> > - 获取Android外部存储-下载类型文件的路径
-
getAndroidExternalCachePaths(
) → Future< List< String> > - Android外部存储缓存的所有路径
-
getAndroidMoviePaths(
) → Future< List< String> > - 获取Android外部存储-视频类型文件的路径
-
getAndroidMusicPaths(
) → Future< List< String> > - 获取Android外部存储-音频类型文件的路径
-
getAndroidPicturePaths(
) → Future< List< String> > - 获取Android外部存储-图片类型文件的路径
-
getAndroidStoragePath(
) → Future< String> - Android外部存储路径
-
getAppCachePath(
) → Future< String> - App缓存路径
-
getAppDocPath(
) → Future< String> - App文档路径
-
getAppExternalStoragePaths(
{StorageDirectoryType? type}) → Future< List< String> > - Android外部存储-特定类型文件的路径
-
getAppSupportPath(
) → Future< String> - App支持的存储路径
-
getDownloadPath(
) → Future< String> - 应用程序的下载目录路径,仅在 iOS/macOS 上支持