isPowerPoint property
bool
get
isPowerPoint
Checks if a file path or URL represents a Microsoft PowerPoint presentation (.ppt or .pptx).
Implementation
bool get isPowerPoint {
final mt = mimeType();
return mt == 'application/vnd.ms-powerpoint' || // Old .ppt
mt ==
'application/vnd.openxmlformats-officedocument.presentationml.presentation'; // .pptx
}