material_file_icon 0.3.0 material_file_icon: ^0.3.0 copied to clipboard
A widget that displays a material file icon based on the file name.
Changelog #
0.3.0 #
- Added
MFThumb
that tries to load an image thumbnail from a [XFile] and fallbacks toMFIcon
.
0.2.0 #
- Added
MFIcon.placeholder
in case the media type is not found. - Exposed
MFIcon.getType
,MFIcon.getTypeByExtension
,MFIcon.getTypeByFileName
static methods. - Now caches the media type of the file for better performance.
0.1.0 #
- Initial release.