Icon

The icon library allows you to add Google's Material Icons into your app.

Add an Icon

To add an icon, first, browse through Google's Material Icon collection of over 1,500 icons (View All Icons) and select the name of the icon you wish to add to your app.

Then pass the selected icon name to one of the following functions.

  • icon:filled()
  • icon:outlined()
  • icon:round()
  • icon:sharp()
  • icon:two_tone()

The only difference these functions have is the style in which you will add the icon in. You can learn more about Material Icon's offered styles here.

icon:filled("settings")
Copyright © SunSed LLC 2013-2021 All rights reserved.