Icon - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki

<ICON/> : ViewableWidget

The <ICON/> widget creates an icon from the flutter icons library.

Restrictions:

  • The <ICON/> can only be monochrome and is limited to the built in library. Consider <IMAGE/> for more detailed graphics.

Attributes

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.

Examples

(fig. a)

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>
(img. a)

Icon Example

logo See it in Action

logo See it in Action

Other Widgets You May Find Useful:

⚠️ **GitHub.com Fallback** ⚠️