Add icon of Material Icons in List made using Dynamic Components

Hello Koders,
I have made a List using Dynamic Components and I want to add Icon in it through Label.

As we all know we can change the label Font Typeface property from Default to Material Icons.
But how to do in dynamic components because in the dynamic components we can set the label property from the blocks in any components but as you know in the blocks there is only font typeface import.
I have seen the material icons font download but the file size is 60MB which is high size for an app.
So, does anyone have the idea on how to add icons rather than images.
Or are there any alternatives for it.
Please let me know .

1 Like

Download this font file from github

1 Like

Why don’t you set them from SetProperty ?

9 Likes

Thanks for the help.

If you have got your solution plz mark my answer as solution

Does FontTypeface also work from built in Dynamic Components for Material Icons

Yes it works, give it a try :slight_smile:

What should be the value?

The name of the icon. You can also create a list of the icons that you want to use in your labels and for each label created assign a different icon

I am getting this error,

My Blocks
Blocks

Recheck the Blocks Shared by dora.
You are Doing things Wrong.

2 Likes

Oops,
I just saw the first two blocks and got the error.
Thanks, For correcting me

Thanks @dora_paz for helping me out.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.