isPresentationFile property

bool get isPresentationFile

Checks if this file is a presentation

Returns true if the file is likely a presentation based on extension

Example:

final file = File('/path/to/presentation.pptx');
print(file.isPresentation); // true

Implementation

bool get isPresentationFile => QFileInfoUtils.isPresentation(path);