import 'package:path/path.dart'; File file = new File("/dir1/dir2/file.ext"); String basename = basename(file.path); # file.ext.
確定! 回上一頁