Package-level declarations
Types
Link copied to clipboard
Represents the color values used for a chip.
Link copied to clipboard
Represents the padding values used for a chip.
Link copied to clipboard
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
object LibraryDefaults
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.