📜  颤振文件全名 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:11.402000             🧑  作者: Mango

代码示例1
File file = new File("/storage/emulated/0/Android/data/my_app/files/Pictures/ca04f332.png"); 
String fileName = file.path.split('/').last;

print(fileName);