RemoteVerticalPageIndicator

Functions summary

Unit
@RemoteComposable
@Composable
RemoteVerticalPageIndicator(
    state: RemotePageIndicatorState,
    modifier: RemoteModifier,
    selectedColor: RemoteColor,
    unselectedColor: RemoteColor,
    indicatorRadius: RemoteDp,
    padding: RemoteDp
)

A vertical page indicator curved along the right edge of the screen.

Functions

RemoteVerticalPageIndicator

@RemoteComposable
@Composable
fun RemoteVerticalPageIndicator(
    state: RemotePageIndicatorState,
    modifier: RemoteModifier = RemoteModifier,
    selectedColor: RemoteColor = RemotePageIndicatorDefaults.selectedColor,
    unselectedColor: RemoteColor = RemotePageIndicatorDefaults.unselectedColor,
    indicatorRadius: RemoteDp = RemotePageIndicatorDefaults.indicatorRadius,
    padding: RemoteDp = RemotePageIndicatorDefaults.pageIndicatorPadding
): Unit

A vertical page indicator curved along the right edge of the screen.

import androidx.compose.remote.creation.compose.state.ri
import androidx.wear.compose.remote.material3.RemoteVerticalPageIndicator
import androidx.wear.compose.remote.material3.rememberRemotePageIndicatorState

val state = rememberRemotePageIndicatorState(selectedPage = 1.ri, pageCount = 3)
RemoteVerticalPageIndicator(state = state, modifier = modifier)
Parameters
state: RemotePageIndicatorState

The state object of the page indicator.

modifier: RemoteModifier = RemoteModifier

The modifier to be applied to the layout.

selectedColor: RemoteColor = RemotePageIndicatorDefaults.selectedColor

The color of the selected page indicator.

unselectedColor: RemoteColor = RemotePageIndicatorDefaults.unselectedColor

The color of unselected page indicators.

indicatorRadius: RemoteDp = RemotePageIndicatorDefaults.indicatorRadius

The base radius of each indicator dot.

padding: RemoteDp = RemotePageIndicatorDefaults.pageIndicatorPadding

The padding of the indicator from the right edge of the screen.