path_provider library

Functions

getApplicationDocumentsDirectory() Future<Directory>
Path to a directory where the application may place files that are private to the application and will only be cleared when the application itself is deleted. [...]
getTemporaryDirectory() Future<Directory>
Path to the temporary directory on the device. [...]