从路径取文件名(去掉目录与扩展名)。
String getFileName(String path) { final split = path.split('/'); final fileName = split.last.split('.').first; return fileName; }