toPainter

open override fun toPainter(placeholderResId: Int? = null, errorResId: Int? = null): Painter

Convert the icon to a Painter.

Return

a painter to draw the icon.