Fiori Icon
Data class for an icon.
Parameters
the type of the icon.
the resource id of the icon.
the bitmap of the icon.
the image vector of the icon.
the tint color of the icon.
the content description that will be played by Accessibility service.
a composable function that returns a Painter to draw the icon.
the background color of the icon. Default is Color.Transparent.
the URL of the icon.
the Drawable of the icon.
the resource id of the placeholder icon when loading from URL.
the resource id of the error icon when loading from URL fails.
the scale rule of the icon when loading from URL. Default is ContentScale.Fit.
Constructors
Constructor for creating an icon from a resource id.
Constructor for creating an icon from a bitmap.
Constructor for creating an icon from an image vector.
Constructor for creating an icon from a painter.
Constructor for creating an icon from a URL.