rememberFontIconPainter
Returns a Painter that draws the icon iconName using iconFont (with a default value of LocalIconFont). The painter's intrinsic size will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will be applied as a variation setting, or else the font with the nearest weight will be picked.
Parameters
the icon name (can be a single character or a string)
the tint to be applied to this icon, by default the value of LocalIconTintProvider, or LocalIconTint if null
the font weight of the icon, by default LocalIconWeight
the icon font used to draw this icon, by default LocalIconFont
the size of the icon, by default LocalIconSize
Returns a Painter that draws the icon icon using iconFont (with a default value of LocalIconFont). The painter's intrinsic size will be size × size dp, and will be tinted with tint. If iconFont is a variable font, weight will be applied as a variation setting, or else the font with the nearest weight will be picked.
Parameters
the icon Unicode character
the tint to be applied to this icon, by default the value of LocalIconTintProvider, or LocalIconTint if null
the font weight of the icon, by default LocalIconWeight
the icon font used to draw this icon, by default LocalIconFont
the size of the icon, by default LocalIconSize