File image = File("/storage/emulated/0/Android/data/my_app/files/Pictures/image_214.png"); // Replace the path string with any valid path on your device if you want to test it out. out String fileName = file.path.split('/').last;
File image = File("/storage/emulated/0/Android/data/my_app/files/Pictures/image_214.png"); // Replace the path string with any valid path on your device if you want to test it out. out String fileName = file.path.split('/').last;