Flutter Obtenez le nom du fichier
import 'package:path/path.dart';
File file = new File("/dir1/dir2/file.ext");
String basename = basename(file.path);
# file.ext
Worthy Warrior