MaleficBox

@Composable
fun MaleficBox(inputStream: InputStream, modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.TopStart, propagateMinConstraints: Boolean = false, content: @Composable BoxScope.() -> Unit)

A composable function that applies Malefic Theming and creates a themed Box with an applied background color.

Parameters

inputStream

The InputStream containing the theme configuration for the Malefic Theme.

modifier

The Modifier to be applied to the Box.

contentAlignment

The Alignment of the content inside the Box.

propagateMinConstraints

Whether the minimum constraints should be propagated.

content

The content to be displayed inside the Box.


@Composable
fun MaleficBox(themeConfig: ThemeConfig, modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.TopStart, propagateMinConstraints: Boolean = false, content: @Composable BoxScope.() -> Unit)

A composable function that applies Malefic Theming and creates a themed Box with an applied background color.

Parameters

themeConfig

The ThemeConfig configuration for the Malefic Theme.

modifier

The Modifier to be applied to the Box.

contentAlignment

The Alignment of the content inside the Box.

propagateMinConstraints

Whether the minimum constraints should be propagated.

content

The content to be displayed inside the Box.