Skip to content

Update Example Code to updated approach #325

Description

@bensalcie

'fun Modifier.constrainAs(ref: ConstrainedLayoutReference, constrainBlock: ConstrainScope.() -> Unit): Modifier' cannot be called in this context with an implicit receiver. Use an explicit receiver if necessary.

   TextField(value = "Search", onValueChange = {},modifier = Modifier.constrainAs(
               search,
               constrainBlock = {}
           ))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions