getMaterialIcon

Get an SVG icon from the Google Material Icons repository on GitHub.

Note that these icons are licensed under the Apache 2.0 License.

Since

0.16.0

Parameters

icon

the name of the icon, as a path as it is on the repo, using either dots or slashes, for example camera.11mp or actions.abc.

style

the Material icon style to use.