SparkImage

fun SparkImage(model: Any?, contentDescription: String?, modifier: Modifier = Modifier, transform: (AsyncImagePainter.State) -> AsyncImagePainter.State = AsyncImagePainter.DefaultTransform, onState: (State) -> Unit? = null, emptyIcon: @Composable (iconSize: Dp) -> Unit = { ImageIconState(SparkIcons.NoPhoto, it) }, errorIcon: @Composable (iconSize: Dp) -> Unit = { ImageIconState( sparkIcon = SparkIcons.ErrorPhoto, iconSize = it, color = SparkTheme.colors.errorContainer, ) }, loadingPlaceholder: @Composable () -> Unit = ImageDefaults.placeholder, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null, filterQuality: FilterQuality = DrawScope.DefaultFilterQuality, blurEdges: Boolean = false)