GlimmerLazyColumnDefaults

object GlimmerLazyColumnDefaults


Contains the default values used by GlimmerLazyColumn.

Summary

Public functions

FlingBehavior

Creates and remembers the default fling behavior for a GlimmerLazyColumn.

Public properties

Dp

The maximum height of the fade effects on the sides of the list.

PaddingValues

Recommended content padding values for lists without a title.

PaddingValues

Recommended content padding values for lists with a title.

Dp

Recommended value for the distance between items.

Arrangement.Vertical

Recommended values for the vertical arrangement.

Public functions

flingBehavior

Added in 1.0.0-alpha20
@Composable
fun flingBehavior(state: GlimmerLazyListState): FlingBehavior

Creates and remembers the default fling behavior for a GlimmerLazyColumn.

Parameters
state: GlimmerLazyListState

The GlimmerLazyListState to observe for layout and focus information.

Public properties

ScrimMaxHeight

val ScrimMaxHeight: Dp

The maximum height of the fade effects on the sides of the list.

contentPadding

val contentPadding: PaddingValues

Recommended content padding values for lists without a title.

contentPaddingWithTitle

val contentPaddingWithTitle: PaddingValues

Recommended content padding values for lists with a title.

itemSpacing

val itemSpacing: Dp

Recommended value for the distance between items.

See also
verticalArrangement

for the default arrangement that uses this spacing.

verticalArrangement

val verticalArrangement: Arrangement.Vertical

Recommended values for the vertical arrangement.