Icon
Last updated
Last updated
The Icon widget is used to show a small image or a symbol.
You can use the Icon widget to let users quickly understand the meaning of the text. For example, placing a location icon ( ) before the numbers such as 28.5584° N, 77.2029° E helps users identify that the values are a latitude and longitude.
To add an Icon to your project:
Select the Text widget from the Add Widget Button or add it directly from the widget tree.
The default Icon widget shows the settings icon.
Enter a value for the size of the Icon in Pixels (PX). Alternatively, you can also fetch this from an API Call as well.
Choose the Color for your Icon, from default Theme Colors, or custom Colors.
The Default Properties can be used to customize the appearance and behavior of your widget. View details for Widget's Default Properties here.