mimecon 1.0.1 mimecon: ^1.0.1 copied to clipboard
A package for bind an icon to a mimeType. You can pass a mimetype label, color, size and others for custom your icon.
Mimecon #
A package to bind an icon to a mimeType
Pull requests #
Pull requests are welcome, I'm a beginner so don't hesitate if you see any corrections
Usage #
- Insert a mimetype label (eg: "image/png", "application/pdf"...)
- Defined some parameters a size, color, isOutlined etc if you want
- An icon who match with the mimetype label will be return
Example #
Mimecon(
mimetype: "application/png",
color: Colors.red,
size: 25,
isOutlined: true,
),
Additional information #
-
All icons come from material_design_icons_flutter package which themselves come from https://materialdesignicons.com/
-
for example project pls visit mimecon_example