fileName property
String?
get
fileName
Gets the file name (including extension)
Returns the filename or null if path is invalid
Example:
final file = File('/path/to/document.pdf');
print(file.fileName); // "document.pdf"
Implementation
String? get fileName => QFileInfoUtils.getFileName(path);