Package-level declarations

Types

Link copied to clipboard
interface ChipColors

Represents the color values used for a chip.

Link copied to clipboard

Represents the padding values used for a chip.

Link copied to clipboard
class DefaultChipColors(val containerColor: Color, val contentColor: Color) : ChipColors

Default ChipColors.

Link copied to clipboard
class DefaultLibraryColors(val backgroundColor: Color, val contentColor: Color, val versionChipColors: ChipColors, val licenseChipColors: ChipColors, val fundingChipColors: ChipColors, val dialogConfirmButtonColor: Color) : LibraryColors

Default LibraryColors.

Link copied to clipboard

Represents the background and content colors used in a library.

Link copied to clipboard

Contains the default values used by Library

Link copied to clipboard

Represents the padding values used in a library.

Link copied to clipboard

Represents the padding values used in a library.

Link copied to clipboard

Represents the shape used for chips in a library.

Link copied to clipboard

Represents the text styles used in a library.

Functions

Link copied to clipboard
fun LibrariesScaffold(libraries: ImmutableList<Library>, modifier: Modifier = Modifier, libraryModifier: Modifier = Modifier, lazyListState: LazyListState = rememberLazyListState(), contentPadding: PaddingValues = PaddingValues(0.dp), padding: LibraryPadding = LibraryDefaults.libraryPadding(), dimensions: LibraryDimensions = LibraryDefaults.libraryDimensions(), name: @Composable BoxScope.(name: String) -> Unit = {}, version: @Composable BoxScope.(version: String) -> Unit? = null, author: @Composable BoxScope.(authors: String) -> Unit? = null, description: @Composable BoxScope.(description: String) -> Unit? = null, license: @Composable FlowRowScope.(license: License) -> Unit? = null, funding: @Composable FlowRowScope.(funding: Funding) -> Unit? = null, actions: @Composable FlowRowScope.(library: Library) -> Unit? = null, header: LazyListScope.() -> Unit? = null, divider: @Composable LazyItemScope.() -> Unit? = null, footer: LazyListScope.() -> Unit? = null, onLibraryClick: (Library) -> Boolean? = { false })

A composable function that displays a scaffolded list of libraries with customizable content.

Link copied to clipboard
fun rememberLibraries(libraries: String): State<Libs?>

Creates a State that holds the Libs as loaded by the libraries.

fun rememberLibraries(block: suspend () -> String): State<Libs?>

Creates a State that holds the Libs as loaded by the block.