FileSaverIcon.file constructor
Set icon for certain fileType.
FileSaverIcon.file(
icon: (path) => Image.file(File(path)),
fileType: 'jpg',
);
Implementation
const FileSaverIcon.file({required this.fileType, required this.icon})
: type = File;