Package-level declarations

Functions

Link copied to clipboard
fun MyImage(file: File, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit)

fun MyImage(bytes: suspend () -> ByteArray, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit)

use something like "Res.readBytes("files/myDir/someFile.bin")" to read the file

Link copied to clipboard
expect fun MyScrollableColumn(modifier: Modifier = Modifier, itemSpacing: Dp = MaterialTheme.spacing.default, horizontalAlignment: Alignment.Horizontal = Alignment.Start, scrollState: ScrollState = rememberScrollState(), overlapScrollbar: Boolean = false, content: @Composable ColumnScope.() -> Unit)
actual fun MyScrollableColumn(modifier: Modifier, itemSpacing: Dp, horizontalAlignment: Alignment.Horizontal, scrollState: ScrollState, overlapScrollbar: Boolean, content: ColumnScope.() -> Unit)
actual fun MyScrollableColumn(modifier: Modifier, itemSpacing: Dp, horizontalAlignment: Alignment.Horizontal, scrollState: ScrollState, overlapScrollbar: Boolean, content: ColumnScope.() -> Unit)
Link copied to clipboard
expect fun MyScrollableLazyColumn(modifier: Modifier = Modifier, itemSpacing: Dp = MaterialTheme.spacing.default, horizontalAlignment: Alignment.Horizontal = Alignment.Start, state: LazyListState = rememberLazyListState(), overlapScrollbar: Boolean = false, content: LazyListScope.() -> Unit)
actual fun MyScrollableLazyColumn(modifier: Modifier, itemSpacing: Dp, horizontalAlignment: Alignment.Horizontal, state: LazyListState, overlapScrollbar: Boolean, content: LazyListScope.() -> Unit)
actual fun MyScrollableLazyColumn(modifier: Modifier, itemSpacing: Dp, horizontalAlignment: Alignment.Horizontal, state: LazyListState, overlapScrollbar: Boolean, content: LazyListScope.() -> Unit)
Link copied to clipboard
expect fun MyScrollableLazyHorizontalGrid(modifier: Modifier = Modifier, gridRows: GridCells = GridCells.Fixed(2), verticalArrangement: Arrangement.Vertical = Arrangement.Top, horizontalArrangement: Arrangement.Horizontal = Arrangement.Start, gridState: LazyGridState, overlapScrollbar: Boolean = false, content: LazyGridScope.() -> Unit)
actual fun MyScrollableLazyHorizontalGrid(modifier: Modifier, gridRows: GridCells, verticalArrangement: Arrangement.Vertical, horizontalArrangement: Arrangement.Horizontal, gridState: LazyGridState, overlapScrollbar: Boolean, content: LazyGridScope.() -> Unit)
actual fun MyScrollableLazyHorizontalGrid(modifier: Modifier, gridRows: GridCells, verticalArrangement: Arrangement.Vertical, horizontalArrangement: Arrangement.Horizontal, gridState: LazyGridState, overlapScrollbar: Boolean, content: LazyGridScope.() -> Unit)
Link copied to clipboard
expect fun MyScrollableLazyRow(modifier: Modifier = Modifier, itemSpacing: Dp = MaterialTheme.spacing.default, verticalAlignment: Alignment.Vertical = Alignment.Top, state: LazyListState = rememberLazyListState(), overlapScrollbar: Boolean = false, content: LazyListScope.() -> Unit)
actual fun MyScrollableLazyRow(modifier: Modifier, itemSpacing: Dp, verticalAlignment: Alignment.Vertical, state: LazyListState, overlapScrollbar: Boolean, content: LazyListScope.() -> Unit)
actual fun MyScrollableLazyRow(modifier: Modifier, itemSpacing: Dp, verticalAlignment: Alignment.Vertical, state: LazyListState, overlapScrollbar: Boolean, content: LazyListScope.() -> Unit)
Link copied to clipboard
expect fun MyScrollableLazyVerticalGrid(modifier: Modifier = Modifier, gridCells: GridCells = GridCells.Fixed(2), verticalArrangement: Arrangement.Vertical = Arrangement.Top, horizontalArrangement: Arrangement.Horizontal = Arrangement.Start, gridState: LazyGridState = rememberLazyGridState(), overlapScrollbar: Boolean = false, content: LazyGridScope.() -> Unit)
actual fun MyScrollableLazyVerticalGrid(modifier: Modifier, gridCells: GridCells, verticalArrangement: Arrangement.Vertical, horizontalArrangement: Arrangement.Horizontal, gridState: LazyGridState, overlapScrollbar: Boolean, content: LazyGridScope.() -> Unit)
actual fun MyScrollableLazyVerticalGrid(modifier: Modifier, gridCells: GridCells, verticalArrangement: Arrangement.Vertical, horizontalArrangement: Arrangement.Horizontal, gridState: LazyGridState, overlapScrollbar: Boolean, content: LazyGridScope.() -> Unit)
Link copied to clipboard
expect fun MyScrollableRow(modifier: Modifier = Modifier, itemSpacing: Dp = MaterialTheme.spacing.default, verticalAlignment: Alignment.Vertical = Alignment.Top, scrollState: ScrollState = rememberScrollState(), overlapScrollbar: Boolean = false, content: @Composable RowScope.() -> Unit)
actual fun MyScrollableRow(modifier: Modifier, itemSpacing: Dp, verticalAlignment: Alignment.Vertical, scrollState: ScrollState, overlapScrollbar: Boolean, content: RowScope.() -> Unit)
actual fun MyScrollableRow(modifier: Modifier, itemSpacing: Dp, verticalAlignment: Alignment.Vertical, scrollState: ScrollState, overlapScrollbar: Boolean, content: RowScope.() -> Unit)