Image Model
constructor(model: Any?, placeholder: Painter? = null, error: Painter? = null, fallback: Painter? = error, contentScale: ContentScale = ContentScale.Crop, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null, filterQuality: FilterQuality = DrawScope.DefaultFilterQuality)
Parameters
model
The model to load the image from.
placeholder
The placeholder to show while loading the image.
error
The painter to show when the image loading fails.
fallback
The painter to show when the image loading fails. Defaults to error.
content Scale
The scale of the content. Defaults to ContentScale.Crop.
alpha
The alpha value to apply to the image. Defaults to DefaultAlpha.
color Filter
The color filter to apply to the image. Defaults to null
.
filter Quality
The quality of the filter. Defaults to DrawScope.DefaultFilterQuality.