Google is committed to advancing racial equity for Black communities. See how.

BaselineAnchorable

inner class BaselineAnchorable
kotlin.Any
   ↳ androidx.ui.layout.ConstrainScope.BaselineAnchorable

Represents the FirstBaseline of a layout that can be anchored using linkTo in their Modifier.constrainAs blocks.

Summary

Public methods
Unit

Adds a link towards a ConstraintLayoutBaseScope.BaselineAnchor.

Public methods

linkTo

fun linkTo(
    anchor: ConstraintLayoutBaseScope.BaselineAnchor,
    margin: Dp = 0.dp
): Unit

Adds a link towards a ConstraintLayoutBaseScope.BaselineAnchor.