Flutter Icons:
In this tutorial, we are going to learn about Icons. an icon is a picture image or graphical image or ideal picture image used or displayed on a mobile/computer desktop screens to help the user navigate an on Android or IOS devices based on this icon. The definition of an icon is a graphic representation of a person or thing that is symbolic or is a noted figure to get an idea based on this icon.
In flutter we have two types of Icos:
- Material Style Icons
- IOS Style Icons
We have so many Icon Providers some of them are listed below:
- AntDesign
- Entypo
- EvilIcons
- Feather
- FontAwesome
- Foundation
- Ionicons
- MaterialIcons by Google,
- MaterialCommunityIcons by MaterialDesignIcons.com
- Octicons by Github,
- Zocial
- SimpleLineIcons
There are so many Icon providers available and we have many Icons available we want to use. In this tutorial, we are using an Icon from IonIcons, FontAwesome, AntDesign and MaterialIcons icons only for example purpose but you can you any of the provider’s Icons according to your app’s requirements.
Creating Flutter Icons:
Add the dependency package:
If we want to use Icons In Flutter we have to add the dependency package to pubspec.yaml file. use the below code to add dependency package. After adding the dependency package run the get package method to import all the required files to the app.