Icon - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
<ICON/> : ViewableWidget
The <ICON/> widget creates an icon from the flutter icons library
.
- The <ICON/> can only be monochrome and is limited to the built in library. Consider <IMAGE/> for more detailed graphics.
Name | Type | Default | Description | Req |
---|---|---|---|---|
icon | string | null | The name of the [ICON ] that will be displayed. |
|
size | int/% | 32 | The size of the widget/the sized percent of its closest sized parent. |
An <ICON/> inside of a <BUTTON/>.
<FML title="ICON (example1)" linkable="true" center="true">
<BUTTON onclick="toast('Saved')">
<ICON icon="save" color="blue" size="64"/>
</BUTTON>
</FML>