isSupportOpen static method
Whether type of the file support
Implementation
static bool isSupportOpen(String fileType) {
final List<String> types = <String>['docx', 'doc', 'xlsx', 'xls', 'pptx', 'ppt', 'pdf', 'txt'];
return types.contains(fileType.toLowerCase());
}