Fiori 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.
Constructor for creating an icon from a resource id.
Parameters
the resource id of the icon.
the tint color of the icon.
the content description that will be played by Accessibility service.
the background color of the icon. Default is Color.Transparent.
Constructor for creating an icon from a bitmap.
Parameters
the bitmap of the icon.
the tint color of the icon.
the content description that will be played by Accessibility service.
the background color of the icon. Default is Color.Transparent.
Constructor for creating an icon from an image vector.
Parameters
the image vector of the icon.
the tint color of the icon.
the content description that will be played by Accessibility service.
the background color of the icon. Default is Color.Transparent.
Constructor for creating an icon from a painter.
Parameters
the tint color of the icon.
the content description that will be played by Accessibility service.
the background color of the icon. Default is Color.Transparent.
a composable function that returns a Painter to draw the icon.
Constructor for creating an icon from a URL.
Parameters
the URL of the icon.
the tint color of the icon.
the content description that will be played by Accessibility service.
the background color of the icon. Default is Color.Transparent.
the resource id of the placeholder icon when loading from URL.
the resource id of the error icon when loading from URL fails.