PullToRefreshDefaults



Contains the default values for PullToRefreshBox

Summary

Public functions

Unit
@Composable
Indicator(
    state: PullToRefreshState,
    isRefreshing: Boolean,
    modifier: Modifier,
    containerColor: Color,
    color: Color,
    threshold: Dp
)

The default indicator for PullToRefreshBox.

Cmn

Public properties

Dp

The default refresh threshold for rememberPullToRefreshState

Cmn
Color

The default container color for Indicator

Cmn
Color

The default indicator color for Indicator

Cmn
Shape

The default shape for Indicator

Cmn

Public functions

Indicator

@Composable
fun Indicator(
    state: PullToRefreshState,
    isRefreshing: Boolean,
    modifier: Modifier = Modifier,
    containerColor: Color = PullToRefreshDefaults.containerColor,
    color: Color = PullToRefreshDefaults.indicatorColor,
    threshold: Dp = PositionalThreshold
): Unit

The default indicator for PullToRefreshBox.

Public properties

PositionalThreshold

val PositionalThresholdDp

The default refresh threshold for rememberPullToRefreshState

containerColor

val containerColorColor

The default container color for Indicator

indicatorColor

val indicatorColorColor

The default indicator color for Indicator

shape

val shapeShape

The default shape for Indicator