app_tmp_path
library
Functions
-
cleanAppTmpDir()
→ Future<void>
-
Cleans the app's temporary directory. It deletes all files and directories in the temporary directory. It won't delete the temporary directory itself.
-
getAppTmpDir()
→ Future<String>
-
Returns the app's temporary directory path. The path is cached, so it won't be fetched multiple times.
-
setAppTmpDir(String path)
→ void
-
Sets the app's temporary directory path.
-
tmpFileName()
→ String
-
Returns a temporary file name.
-
tmpPath({String prefix = ''})
→ Future<String>
-
Returns a temporary path in the app's temporary directory. You can use that to create a temporary file or directory.