isVideoFile property

bool get isVideoFile

Checks if this file is a video

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

Example:

final file = File('/path/to/movie.mp4');
print(file.isVideo); // true

Implementation

bool get isVideoFile => QFileInfoUtils.isVideo(path);