libraryPadding

fun libraryPadding(contentPadding: PaddingValues = PaddingValues(16.dp), namePadding: PaddingValues = PaddingValues(0.dp), versionPadding: ChipPadding = chipPadding( containerPadding = PaddingValues(start = 8.dp), ), licensePadding: ChipPadding = chipPadding(), fundingPadding: ChipPadding = chipPadding(), verticalPadding: Dp = 2.dp, licenseDialogContentPadding: Dp = 8.dp): LibraryPadding

Creates a LibraryPadding that represents the default paddings used in a Library

Parameters

contentPadding

the padding inside the Library ui element

namePadding

the padding around the name shown as part of a Library

versionPadding

the padding in and around the version shown as part of a Library

licensePadding

the padding in and around the license shown as part of a Library

fundingPadding

the padding in and around the funding shown as part of a Library

verticalPadding

the vertical padding between the individual items in the library element


fun libraryPadding(contentPadding: PaddingValues, namePadding: PaddingValues = PaddingValues(0.dp), versionPadding: PaddingValues = PaddingValues(start = 8.dp), badgePadding: PaddingValues = PaddingValues(top = 8.dp, end = 4.dp), badgeContentPadding: PaddingValues = PaddingValues(horizontal = 8.dp, vertical = 0.dp), verticalPadding: Dp = 2.dp): LibraryPadding

Deprecated

Use libraryPadding() with chipPadding() arguments instead

Creates a LibraryPadding that represents the default paddings used in a Library

Parameters

namePadding

the padding around the name shown as part of a Library

versionPadding

the padding around the version shown as part of a Library

badgePadding

the padding around a badge element shown as part of a Library

badgeContentPadding

the padding around the content of a badge element shown as part of a Library

verticalPadding

the vertical padding between the individual items in the library element