Flatternpfadanbieter
dependencies:
path_provider: ^1.6.27
Steve
dependencies:
path_provider: ^1.6.27
Future<File> writeCounter(int counter) async {
final file = await _localFile;
// Write the file.
return file.writeAsString('$counter');
}
Directory tempDir = await getTemporaryDirectory();
String tempPath = tempDir.path;
imagepath = '${tempPath}/${pickedFile}';
print(imagepath);