copy a file from assets flutter code example
Example: flutter copy file
path is the directory /data/user/0/com.vendetta.recipe/app_flutter. Try adding a /filename.jpg to it.
File newImage = await _image.copy('$path/filename.jpg');
path is the directory /data/user/0/com.vendetta.recipe/app_flutter. Try adding a /filename.jpg to it.
File newImage = await _image.copy('$path/filename.jpg');