A very exciting question. How to add an ICON, just an icon, and not a picture, to the application. What I mean is that I have a class in which I specify the Icon. When adding this class, some icons are in the flutter, and some are not. How can I add them?
There is no such icon in the flutter
I tried to connect different libraries in pub.dev (I would like without third-party applications) and also changed icon to images
2
Answers
You can use the service of the website Flutter icons : https://www.fluttericon.com/
Just create your icon font, download the package and use it in your code!
you could use imageIcon: https://api.flutter.dev/flutter/widgets/ImageIcon-class.html
it takes an icon that comes from an ImageProvider, e.g. an AssetImage.